summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openttd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 2ba238509..0c04838f2 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1204,8 +1204,6 @@ void StateGameLoop()
CallWindowTickEvent();
NewsLoop();
} else {
- CheckCaches();
-
if (_debug_desync_level > 2 && _date_fract == 0 && (_date & 0x1F) == 0) {
/* Save the desync savegame if needed. */
char name[MAX_PATH];
@@ -1213,6 +1211,8 @@ void StateGameLoop()
SaveOrLoad(name, SL_SAVE, AUTOSAVE_DIR);
}
+ CheckCaches();
+
/* All these actions has to be done from OWNER_NONE
* for multiplayer compatibility */
CompanyID old_company = _current_company;