summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 70bc469b..0faf5c12 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -331,12 +331,12 @@ void exit_engine()
// Shutdown sound
sound.close();
- ResourceManager::deleteInstance();
- delete logger;
-
// Unload XML databases
EquipmentDB::unload();
ItemDB::unload();
+
+ ResourceManager::deleteInstance();
+ delete logger;
}
void printHelp()