Fix #10917: Pay loan interest before generating statistics (#11040)

pull/603/head
Finn Willard 1 year ago committed by GitHub
parent b68d56d94d
commit f23249f8f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1977,12 +1977,12 @@ void LoadUnloadStation(Station *st)
*/
static IntervalTimer<TimerGameCalendar> _companies_monthly({TimerGameCalendar::MONTH, TimerGameCalendar::Priority::COMPANY}, [](auto)
{
CompaniesPayInterest();
CompaniesGenStatistics();
if (_settings_game.economy.inflation) {
AddInflation();
RecomputePrices();
}
CompaniesPayInterest();
HandleEconomyFluctuations();
});

Loading…
Cancel
Save