Quote from: tor.brandt on Sun 13/11/2016 12:01:24I tried putting your first code (from your post 10 Nov, 5.49) into my global script, and that resulted in the behaviour I described (i.e. if Space was held down, pause was toggled repeatedly, instead of just once). Here I'm not talking about how the script works, but about the actual experience when playing the game.
I don't think the problem as you describe it has anything to do with my code, so much as it has to do with the way that on_key_press works. So, to clarify, are you holding down the Space key during a blocking event, or during non-blocking event(s) when this happens?