Simple question, does this trigger leak? Cause according to leack check it does leak.
-
Create food
-

Events
-


Time - Every 3.00 seconds of game time
-
-

Conditions
-

Actions
-


Do Multiple ActionsFor each (Integer A) from 1 to 12, do (Actions)
-



Loop - Actions
-




Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Player((Integer A))) Food cap) Greater than (>) 0
-






(Number of units in (Units owned by (Player((Integer A))) of type Food)) Equal to (==) 0
-
-





Then - Actions
-






Set foodpoint = (Center of Food place <gen>)
-






Unit - Create 1 Food for (Player((Integer A))) at foodpoint facing Default building facing (270.0) degrees
-






Set food_unit[(Integer A)] = (Last created unit)
-






Custom script: call RemoveLocation (udg_foodpoint)
-
-





Else - Actions
-






Do nothing
-
-
-
-
-
-





