summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authorPeter Nelson <peter1138@openttd.org>2018-05-04 21:40:59 +0100
committerPeterN <peter@fuzzle.org>2019-01-11 11:56:21 +0000
commit15320a37b9255f28b5e66404b33e6fb0f1f05e9e (patch)
tree398b425c9b8dacbb814a037d8e3207b74d03028e /src/industry_gui.cpp
parent2a8fa5fef9021bff67a13899832bf6f0a18e6ea1 (diff)
downloadopenttd-15320a37b9255f28b5e66404b33e6fb0f1f05e9e.tar.xz
Change: OnGameTick() is only called when not paused.
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index 50ef28359..05cc67ee2 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -649,7 +649,6 @@ public:
virtual void OnGameTick()
{
- if (_pause_mode != PM_UNPAUSED) return;
if (!this->timer_enabled) return;
if (--this->callback_timer == 0) {
/* We have just passed another day.