NudgeUnitsInRectEnum
- comment
- bug
Leaks handle
nudgee: In Jass you must set local variables that hold agents (or any child type) tonullat the end of functions to avoid reference counter leaks.- patch
1.07
- Source
- Blizzard.j (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
function NudgeUnitsInRectEnum takes nothing returns nothing local unit nudgee = GetEnumUnit() call SetUnitPosition(nudgee, GetUnitX(nudgee), GetUnitY(nudgee)) endfunction