Fix seg fault when quit the game by the pause menu.
Merge branch 'develop' of https://github.com/Symptogen/Symptogen into develop