Change: OnGameTick() is only called when not paused.

This commit is contained in:
Peter Nelson
2018-05-04 21:40:59 +01:00
committed by PeterN
parent 2a8fa5fef9
commit 15320a37b9
5 changed files with 0 additions and 6 deletions

View File

@@ -1474,8 +1474,6 @@ struct PerformanceRatingDetailWindow : Window {
virtual void OnGameTick()
{
if (_pause_mode != PM_UNPAUSED) return;
/* Update the company score every 5 days */
if (--this->timeout == 0) {
this->UpdateCompanyStats();