Whenever my game is closed, I need a temporary directory (full of files that have been created over the course of the game running) deleted. These are my events, covering every possible "End of":
The problem is that the emptying/deleting (both probably isn't necessary) only happens some of the time, which is not good enough. I need these events to trigger every time the game closes.
How can I make this event fire everytime and however the game ends?