summaryrefslogtreecommitdiff
path: root/src/group_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r--src/group_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp
index 06b687818..ac9dfefdd 100644
--- a/src/group_gui.cpp
+++ b/src/group_gui.cpp
@@ -724,7 +724,7 @@ public:
virtual void OnTick()
{
- if (_pause_game != 0) return;
+ if (_pause_mode != PM_UNPAUSED) return;
if (this->groups.NeedResort() || this->vehicles.NeedResort()) {
this->SetDirty();
}