#Does the Game End event run when you stop the game in the editor?

4 messages · Page 1 of 1 (latest)

stark scarab
#

I save my game in several places, including the Game End event. When closing the game with the stop button in the editor I noticed that a print statement in my Game End event wasn't printed and the game wasn't saving. I tested on a built version of the game uploaded to Steam and the data saved as expected. Does the stop button in the editor not run the Game End event?

pastel cloud
#

I'm pretty sure it doesn't

The game end event happens when you close the game through closing it manually or using game_end()

stark scarab
#

Okay, that's consistent with what I'm seeing then

#

seems strange that it would be like this but good to keep in mind