summaryrefslogtreecommitdiff
path: root/src/date.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/date.cpp')
-rw-r--r--src/date.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/date.cpp b/src/date.cpp
index f382fc416..fd9478513 100644
--- a/src/date.cpp
+++ b/src/date.cpp
@@ -15,6 +15,7 @@
#include "date_func.h"
#include "vehicle_base.h"
#include "debug.h"
+#include "rail_gui.h"
#ifdef DEBUG_DUMP_COMMANDS
#include "saveload.h"
#endif
@@ -282,6 +283,8 @@ void IncreaseDate()
ShipsYearlyLoop();
if (_network_server) NetworkServerYearlyLoop();
+ if (_cur_year == _patches.semaphore_build_before) ResetSignalVariant();
+
/* check if we reached end of the game */
if (_cur_year == _patches.ending_year) {
ShowEndGameChart();