diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -185,10 +185,10 @@ int main(int argc, char *argv[]) // exit Mix_HaltMusic(); - Mix_CloseAudio(); unloadTextures(); + game::engine.getSystem<WorldSystem>()->die(); game::engine.getSystem<WindowSystem>()->die(); return 0; // Calls everything passed to atexit |