Code:
Close Gate 1
Events
Unit - A unit leaves Gate 1 <gen>
Conditions
((Triggering unit) belongs to an ally of Player 1 (Red)) Equal to True
[COLOR="Red"] (Number of units in (Units in Gate 1 <gen> matching (((Matching unit) belongs to an ally of Player 1 (Red)) Equal to True))) Equal to 0[/COLOR]
Actions
Destructible - Close Iron Gate (Horizontal) 0000 <gen>
I know unit group leak, but does it applies for counting units in unit group (the highlighted part), which is when unit group is in a condition?
My question is does the above leak?