WoWInterface SVN mikma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /EnemyScanner2
    from Rev 701 to Rev 702
    Reverse comparison

Rev 701 → Rev 702

EnemyScanner2.lua
79,9 → 79,9
function EnemyScanner2:ZONE_CHANGED_NEW_AREA()
local instancetype = select(2,GetInstanceInfo())
if instancetype == "pvp" then
pvpmatch = true
table.wipe(EnemyScanner2DB["PvP"])
EnemyScanner2:Enable()
pvpmatch = true
-- Change temptable to PvP.
temptable = EnemyScanner2DB["PvP"]
EnemyScanner2DB.expire = 10
96,15 → 96,15
if not EnemyScanner2DB.enabled then
-- Change temptable to realmName.
temptable = EnemyScanner2DB[realmName]
EnemyScanner2DB.expire = 30
EnemyScanner2:Enable()
if pvpmatch then
EnemyScanner2:Clear()
pvpmatch = nil
end
debugprint(3,"EnemyScanner2 Enabled",0,1,0)
EnemyScanner2DB.enabled = true
end
if pvpmatch then
EnemyScanner2:Clear()
pvpmatch = nil
end
EnemyScanner2DB.expire = 30
end
end