diff --git a/src/settings_table.cpp b/src/settings_table.cpp index fa66720b1d..d2e0579dab 100644 --- a/src/settings_table.cpp +++ b/src/settings_table.cpp @@ -670,7 +670,7 @@ static void ChangeMinutesPerYear(int32_t new_value) static std::tuple GetMinutesPerYearRange(const IntSettingDesc &) { /* Allow a non-default value only if using Wallclock timekeeping units. */ - if (_settings_newgame.economy.timekeeping_units == TKU_WALLCLOCK) return { CalendarTime::FROZEN_MINUTES_PER_YEAR, CalendarTime::MAX_MINUTES_PER_YEAR }; + if (TimerGameEconomy::UsingWallclockUnits(_game_mode == GM_MENU)) return { CalendarTime::FROZEN_MINUTES_PER_YEAR, CalendarTime::MAX_MINUTES_PER_YEAR }; return { CalendarTime::DEF_MINUTES_PER_YEAR, CalendarTime::DEF_MINUTES_PER_YEAR }; }