- Joined
- Jan 18, 2005
- Messages
- 5,782
I have these lines:
I get output with a unit name which was recently targeted, even though I nullified its handle in hashtable. I can store another unit, but I can't empty it for some reason. :S
JASS:
call SaveUnitHandle( udg_hashtable, GetHandleId(orderunit), udg_BatalionHash_TargetUnit, null )
set orderunit = LoadUnitHandle( udg_hashtable, GetHandleId(orderunit), udg_BatalionHash_TargetUnit )
call BJDebugMsg(GetUnitName(orderunit))
I get output with a unit name which was recently targeted, even though I nullified its handle in hashtable. I can store another unit, but I can't empty it for some reason. :S