mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-09 19:10:38 +00:00
parent
b68d56d94d
commit
f23249f8f1
@ -1977,12 +1977,12 @@ void LoadUnloadStation(Station *st)
|
|||||||
*/
|
*/
|
||||||
static IntervalTimer<TimerGameCalendar> _companies_monthly({TimerGameCalendar::MONTH, TimerGameCalendar::Priority::COMPANY}, [](auto)
|
static IntervalTimer<TimerGameCalendar> _companies_monthly({TimerGameCalendar::MONTH, TimerGameCalendar::Priority::COMPANY}, [](auto)
|
||||||
{
|
{
|
||||||
|
CompaniesPayInterest();
|
||||||
CompaniesGenStatistics();
|
CompaniesGenStatistics();
|
||||||
if (_settings_game.economy.inflation) {
|
if (_settings_game.economy.inflation) {
|
||||||
AddInflation();
|
AddInflation();
|
||||||
RecomputePrices();
|
RecomputePrices();
|
||||||
}
|
}
|
||||||
CompaniesPayInterest();
|
|
||||||
HandleEconomyFluctuations();
|
HandleEconomyFluctuations();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user