summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index 8b6a7b032..15ab42533 100644
--- a/misc.c
+++ b/misc.c
@@ -7,6 +7,8 @@
#include "assert.h"
#include "saveload.h"
#include "network.h"
+#include "network_data.h"
+#include "network_server.h"
extern void StartupEconomy();
extern void InitNewsItemStructs();
@@ -667,6 +669,10 @@ void IncreaseDate()
TownsMonthlyLoop();
IndustryMonthlyLoop();
StationMonthlyLoop();
+#ifdef ENABLE_NETWORK
+ if (_network_server)
+ NetworkServerMonthlyLoop();
+#endif /* ENABLE_NETWORK */
}
/* check if we entered a new year? */