Codechange: use scoped enums for timer enumerations, rename one enum

This commit is contained in:
Rubidium
2026-01-29 12:42:27 +01:00
committed by rubidium42
parent 7092162a97
commit 03c24810b1
30 changed files with 95 additions and 93 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ static uint _script_current_depth; ///< Depth of scripts running (used to abort
static std::string _scheduled_monthly_script; ///< Script scheduled to execute by the 'schedule' console command (empty if no script is scheduled).
/** Timer that runs every month of game time for the 'schedule' console command. */
static const IntervalTimer<TimerGameCalendar> _scheduled_monthly_timer = {{TimerGameCalendar::MONTH, TimerGameCalendar::Priority::NONE}, [](auto) {
static const IntervalTimer<TimerGameCalendar> _scheduled_monthly_timer = {{TimerGameCalendar::Trigger::Month, TimerGameCalendar::Priority::None}, [](auto) {
if (_scheduled_monthly_script.empty()) {
return;
}