summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 8fbdd0b11..b4f64e10c 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -962,7 +962,10 @@ void StateGameLoop()
ClearStorageChanges(false);
/* dont execute the state loop during pause */
- if (_pause_game) return;
+ if (_pause_game) {
+ CallWindowTickEvent();
+ return;
+ }
if (IsGeneratingWorld()) return;
if (_game_mode == GM_EDITOR) {