Quote:
Originally Posted by gm9
Had not looked at your code yet. What you did was to have ProgressTimer call ProgressTimer2 and vice versa in an endless loop. And when you toggle autoattack again you trigger the already running loop again. That's certain to crash the game, you can't do that. Don't ever do endless loops.
|
That is my previous code. It didn't work even with the first ProgressTimer. That was just an experiment (it didn't crash the gaem, but the loop breaks randomly). I still got the crash with JUST the first ProgressTimer.