kungfuturte0
New Member
- Reaction score
- 2
In my map it sometimes freezes for a short while. So i looked for some leaks and removed them. However it still freezes and i have checked all triggers with leak checker. However Im sure this is the problem:
So thats what leak checker told me to do. However, when i run it through leak checker again i get this message:
Location variable has not been removed:
Location variable has not been removed:
Location variable has not been removed:
So i am pretty sure the leak hasnt been solved in my trigger. how could i get around this to remove this annoying leak?
Thanks
Code:
Actions
Set Town_Portal_2 = (Center of Town <gen>)
Unit - Create 1 Town Portal 2 for Player 12 (Brown) at Town_Portal_2 facing Default building facing degrees
Custom script: call RemoveLocation(udg_Town_Portal_2)
Wait 0.01 seconds
Set Town_Portal = (Position of (Triggering unit))
Unit - Create 1 Town Portal for Player 12 (Brown) at Town_Portal facing Default building facing degrees
Custom script: call RemoveLocation(udg_Town_Portal)
Wait 0.01 seconds
Set Town_Portal_2 = (Center of Town <gen>)
Unit - Move (Triggering unit) instantly to Town_Portal_2
Custom script: call RemoveLocation(udg_Town_Portal_2)
So thats what leak checker told me to do. However, when i run it through leak checker again i get this message:
Location variable has not been removed:
Location variable has not been removed:
Location variable has not been removed:
So i am pretty sure the leak hasnt been solved in my trigger. how could i get around this to remove this annoying leak?
Thanks