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, 2 insertions, 0 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index 96aa63b90..eb94a8325 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -1102,6 +1102,8 @@ static void PerformanceRatingDetailWndProc(Window *w, WindowEvent *e)
}
case WE_TICK:
+ if (_pause_game != 0) break;
+
/* Update the player score every 5 days */
if (--w->custom[0] == 0) {
w->custom[0] = DAY_TICKS;