- fixed error where the players collection was iterated from the DATABASE, but the wrong collection :-)

- now the player database is correctly interpreted, and the unit is interpreted, not the player name :-)
This commit is contained in:
FlightControl_Master 2018-03-20 11:49:26 +01:00
parent 2baa42e2bc
commit fa15d170f7

View File

@ -249,7 +249,7 @@ function AI_BALANCER:onenterMonitoring( SetGroup )
self:T2( RangeZone )
_DATABASE:ForEachPlayer(
_DATABASE:ForEachPlayerUnit(
--- @param Wrapper.Unit#UNIT RangeTestUnit
function( RangeTestUnit, RangeZone, AIGroup, PlayerInRange )
self:T2( { PlayerInRange, RangeTestUnit.UnitName, RangeZone.ZoneName } )