summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 2421e63f4..ab2558e2c 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -359,10 +359,7 @@ impHandler0(clear)
impHandler0(cleanGraphics)
{
- ResourceManager *const resman = ResourceManager::getInstance();
- resman->cleanProtected();
- while (resman->cleanOrphans(true))
- continue;
+ ResourceManager::getInstance()->clearCache();
if (debugChatTab)
{