Fixes issue #412

-- wrong usage of IsCompletelyInZone() on UNIT level fixed -> Changed to
IsInZone()
This commit is contained in:
FlightControl 2017-04-12 09:16:56 +02:00
parent e6b9da2fcb
commit 545034034e

View File

@ -1374,7 +1374,7 @@ function SET_UNIT:ForEachUnitCompletelyInZone( ZoneObject, IteratorFunction, ...
--- @param Core.Zone#ZONE_BASE ZoneObject
-- @param Wrapper.Unit#UNIT UnitObject
function( ZoneObject, UnitObject )
if UnitObject:IsCompletelyInZone( ZoneObject ) then
if UnitObject:IsInZone( ZoneObject ) then
return true
else
return false