Fix changing the day length setting not immediately taking effect
This commit is contained in:
@@ -1844,6 +1844,7 @@ static void ImprovedBreakdownsSettingChanged(int32_t new_value)
|
|||||||
|
|
||||||
static void DayLengthChanged(int32_t new_value)
|
static void DayLengthChanged(int32_t new_value)
|
||||||
{
|
{
|
||||||
|
UpdateEffectiveDayLengthFactor();
|
||||||
RecalculateStateTicksOffset();
|
RecalculateStateTicksOffset();
|
||||||
|
|
||||||
SetupTileLoopCounts();
|
SetupTileLoopCounts();
|
||||||
|
Reference in New Issue
Block a user