Fix changing the day length setting not immediately taking effect

This commit is contained in:
Jonathan G Rennison
2024-02-14 22:57:58 +00:00
parent e98d9a1d1d
commit fc40f485ff

View File

@@ -1844,6 +1844,7 @@ static void ImprovedBreakdownsSettingChanged(int32_t new_value)
static void DayLengthChanged(int32_t new_value)
{
UpdateEffectiveDayLengthFactor();
RecalculateStateTicksOffset();
SetupTileLoopCounts();