Correct inprecise documentation

This commit is contained in:
Grey-Echo 2017-04-22 14:54:13 +02:00
parent de3f8f529f
commit 09325a8615
2 changed files with 2 additions and 2 deletions

View File

@ -1069,7 +1069,7 @@ end
-- if MySetGroup:AnyPartlyInZone(MyZone) then -- if MySetGroup:AnyPartlyInZone(MyZone) then
-- MESSAGE:New("At least one GROUP is partially in the zone, but none are fully in it !", 10):ToAll() -- MESSAGE:New("At least one GROUP is partially in the zone, but none are fully in it !", 10):ToAll()
-- else -- else
-- MESSAGE:New("No GROUP are in zone, or one GROUP is completely in it !", 10):ToAll() -- MESSAGE:New("No GROUP are in zone, or one (or more) GROUP is completely in it !", 10):ToAll()
-- end -- end
function SET_GROUP:AnyPartlyInZone(Zone) function SET_GROUP:AnyPartlyInZone(Zone)
self:F2(Zone) self:F2(Zone)

View File

@ -596,7 +596,7 @@ end
-- @param Core.Zone#ZONE_BASE Zone The zone to test. -- @param Core.Zone#ZONE_BASE Zone The zone to test.
-- @return #number The number of UNITs that are in the @{Zone} -- @return #number The number of UNITs that are in the @{Zone}
function GROUP:CountInZone( Zone ) function GROUP:CountInZone( Zone )
self:F2( {slef.GroupName, Zone} ) self:F2( {self.GroupName, Zone} )
local Count = 0 local Count = 0
for UnitID, UnitData in pairs( self:GetUnits() ) do for UnitID, UnitData in pairs( self:GetUnits() ) do