From f23249f8f16f08c162bdc8ff6d1a96617a09d18f Mon Sep 17 00:00:00 2001 From: Finn Willard Date: Tue, 20 Jun 2023 13:02:09 -0700 Subject: [PATCH] Fix #10917: Pay loan interest before generating statistics (#11040) --- src/economy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/economy.cpp b/src/economy.cpp index 0e93f9e3ba..8f5dc9333f 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -1977,12 +1977,12 @@ void LoadUnloadStation(Station *st) */ static IntervalTimer _companies_monthly({TimerGameCalendar::MONTH, TimerGameCalendar::Priority::COMPANY}, [](auto) { + CompaniesPayInterest(); CompaniesGenStatistics(); if (_settings_game.economy.inflation) { AddInflation(); RecomputePrices(); } - CompaniesPayInterest(); HandleEconomyFluctuations(); });