aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-04-28 15:28:18 -0400
committerClyne Sullivan <tullivan99@gmail.com>2017-04-28 15:28:18 -0400
commit18380eb2e6443c2736b4958b01e7ba2fe2cfa318 (patch)
tree32a32d9061613445702f05ff64f42206ee27848f /main.cpp
parentcbfec643e85c2ca6516195bec8df77c33525a87f (diff)
ui menu fix
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 429bc7f..5cd4a44 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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