--Thanatos--
New Member
- Reaction score
- 33
Will this leak?
I'm pushing to efficiency and leak for now so that I only use one local. With the hope this doesn't leak.
JASS:
function TestingTheLeak_TrgAct takes nothing returns nothing
local trigger trig = GetTriggeringTrigger ()
call UnitDamageTarget (GetHandleUnit(trig,"target"),GetTriggerUnit(),GetHandleReal(trig,"damage"),false,false,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_FIRE,null)
call DestroyTrigger (trig)
set trig = null
endfunction
I'm pushing to efficiency and leak for now so that I only use one local. With the hope this doesn't leak.