Disabling collision shapes for snowballs is now done with call deferred. Performance when they die is good now and this fixes the errors the debugger was generating. This also fixes the weird behavior that required disable() to be called twice so its been removed from the if state == "kill" part of the code. Closes #23
I also set up fireball to use call_deferred() so it doesn't create errors anymore.
Disabling collision shapes for snowballs is now done with call deferred. Performance when they die is good now and this fixes the errors the debugger was generating. This also fixes the weird behavior that required
disable()
to be called twice so its been removed from theif state == "kill"
part of the code. Closes #23I also set up fireball to use
call_deferred()
so it doesn't create errors anymore.