With the quit functionality added to the _process function, it won’t be reached if we are currently exploding or celebrating a level win.
An easy fix is to remove all “set_process(false)
” and instead use the check for “is_transitioning” in _process as the second thing it does, after the “ui_cancel” input handling.