summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 29c464180..d512ac6e4 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -793,6 +793,9 @@ int Client::exec()
{
delete game;
game = 0;
+ ResourceManager *resman = ResourceManager::getInstance();
+ if (resman)
+ resman->cleanOrphans();
}
mOldState = mState;