- Joined
- Jan 23, 2015
- Messages
- 788
I have a custom spell that creates a unit group, picks it's units and damages them. The problem is, when I use the spell, the game freezes for over 0.2 sec at the time where it's supposed to damage the units. However this occurs only the first time I use the spell, the second time, it works properly.
So, everything else connected with the spell works perfectly, the only problem is this freezing...
So, why does this occur, and how do I fix it? This happens with most of my spells that pick up units..
I don't have leaks btw..
So, everything else connected with the spell works perfectly, the only problem is this freezing...
So, why does this occur, and how do I fix it? This happens with most of my spells that pick up units..
I don't have leaks btw..