mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-25 04:25:26 +00:00
Fixes issue #412
-- wrong usage of IsCompletelyInZone() on UNIT level fixed -> Changed to IsInZone()
This commit is contained in:
@@ -1374,7 +1374,7 @@ function SET_UNIT:ForEachUnitCompletelyInZone( ZoneObject, IteratorFunction, ...
|
|||||||
--- @param Core.Zone#ZONE_BASE ZoneObject
|
--- @param Core.Zone#ZONE_BASE ZoneObject
|
||||||
-- @param Wrapper.Unit#UNIT UnitObject
|
-- @param Wrapper.Unit#UNIT UnitObject
|
||||||
function( ZoneObject, UnitObject )
|
function( ZoneObject, UnitObject )
|
||||||
if UnitObject:IsCompletelyInZone( ZoneObject ) then
|
if UnitObject:IsInZone( ZoneObject ) then
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
return false
|
return false
|
||||||
|
|||||||
Reference in New Issue
Block a user