Merge branch 'daily_script' into jgrpp
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "rail_gui.h"
|
||||
#include "linkgraph/linkgraph.h"
|
||||
#include "saveload/saveload.h"
|
||||
#include "console_func.h"
|
||||
|
||||
#include "safeguards.h"
|
||||
|
||||
@@ -226,6 +227,7 @@ static void OnNewYear()
|
||||
}
|
||||
|
||||
if (_settings_client.gui.auto_euro) CheckSwitchToEuro();
|
||||
IConsoleCmdExec("exec scripts/on_newyear.scr 0");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -248,6 +250,7 @@ static void OnNewMonth()
|
||||
#ifdef ENABLE_NETWORK
|
||||
if (_network_server) NetworkServerMonthlyLoop();
|
||||
#endif /* ENABLE_NETWORK */
|
||||
IConsoleCmdExec("exec scripts/on_newmonth.scr 0");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -267,6 +270,7 @@ static void OnNewDay()
|
||||
|
||||
/* Refresh after possible snowline change */
|
||||
SetWindowClassesDirty(WC_TOWN_VIEW);
|
||||
IConsoleCmdExec("exec scripts/on_newday.scr 0");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user