Minor fixes
This commit is contained in:
@@ -59,7 +59,7 @@ function shared.Spotter.Init()
|
||||
local faction = shared.raceMap[race]
|
||||
if not faction then return string.format("Could not find faction for race %s", tostring(race)) end
|
||||
|
||||
local hostile = UnitCanAttack("player", unit) == 1
|
||||
local hostile = UnitCanAttack("player", unit)
|
||||
local doNotify = ShouldNotify(unit, name, faction, hostile)
|
||||
if not doNotify then return string.format("Not notifying for %s", tostring(name)) end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user