Fix incorrect accounting of company quarterly statistics

pull/661/head
Jonathan G Rennison 3 months ago
parent a816829cd1
commit 26fc78d2bf

@ -804,7 +804,7 @@ static void CompaniesGenStatistics()
cur_company.Restore();
/* Only run the economic statics and update company stats every 3rd month (1st of quarter). */
if ((EconTime::CurMonth() % 3) == 0) return;
if ((EconTime::CurMonth() % 3) != 0) return;
for (Company *c : Company::Iterate()) {
/* Drop the oldest history off the end */

Loading…
Cancel
Save