Ensure tile loop counts and cargo scalers updated when day length changed

This commit is contained in:
Jonathan G Rennison
2024-02-16 17:54:19 +00:00
parent 86a6f63e2f
commit 450c6b76d6
3 changed files with 7 additions and 5 deletions

View File

@@ -123,6 +123,9 @@ void RecalculateStateTicksOffset()
void UpdateEffectiveDayLengthFactor()
{
DateDetail::_effective_day_length = _settings_game.EffectiveDayLengthFactor();
SetupTileLoopCounts();
UpdateCargoScalers();
}
CalTime::Date StateTicksToCalendarDate(StateTicks ticks)