From df03d60258f7bf13a043cced85eb77d3c1a6cc5b Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Thu, 14 Dec 2023 17:22:44 -0500 Subject: [PATCH] Fix: Add missing includes to timers from script implementation files --- src/script/api/script_basestation.cpp | 1 + src/script/api/script_engine.cpp | 1 + src/script/api/script_industry.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/src/script/api/script_basestation.cpp b/src/script/api/script_basestation.cpp index c3cf5b234c..c8890ace0d 100644 --- a/src/script/api/script_basestation.cpp +++ b/src/script/api/script_basestation.cpp @@ -15,6 +15,7 @@ #include "../../strings_func.h" #include "../../station_cmd.h" #include "../../waypoint_cmd.h" +#include "../../timer/timer_game_calendar.h" #include "table/strings.h" #include "../../safeguards.h" diff --git a/src/script/api/script_engine.cpp b/src/script/api/script_engine.cpp index 2ddadc5a40..4db40f9316 100644 --- a/src/script/api/script_engine.cpp +++ b/src/script/api/script_engine.cpp @@ -18,6 +18,7 @@ #include "../../engine_func.h" #include "../../articulated_vehicles.h" #include "../../engine_cmd.h" +#include "../../timer/timer_game_calendar.h" #include "table/strings.h" #include "../../safeguards.h" diff --git a/src/script/api/script_industry.cpp b/src/script/api/script_industry.cpp index 6d7237964e..b8e842a3a4 100644 --- a/src/script/api/script_industry.cpp +++ b/src/script/api/script_industry.cpp @@ -20,6 +20,7 @@ #include "../../station_base.h" #include "../../newgrf_industries.h" #include "../../industry_cmd.h" +#include "../../timer/timer_game_economy.h" #include "../../timer/timer_game_calendar.h" #include "table/strings.h"