summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r--src/graph_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index cc0d80033..8ce2b4ade 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -1182,7 +1182,7 @@ struct PerformanceRatingDetailWindow : Window {
virtual void OnTick()
{
- if (_pause_game != 0) return;
+ if (_pause_mode != PM_UNPAUSED) return;
/* Update the company score every 5 days */
if (--this->timeout == 0) {