summaryrefslogtreecommitdiff
path: root/src/newgrf_config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r--src/newgrf_config.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp
index 07c2e432b..aff7ac406 100644
--- a/src/newgrf_config.cpp
+++ b/src/newgrf_config.cpp
@@ -17,6 +17,7 @@
#include "string_func.h"
#include "gamelog.h"
#include "network/network_type.h"
+#include "network/network_func.h"
#include "gfx_func.h"
#include "fileio_func.h"
@@ -391,6 +392,10 @@ void ScanNewGRFFiles()
_all_grfs = to_sort[0];
free(to_sort);
+
+#ifdef ENABLE_NETWORK
+ NetworkAfterNewGRFScan();
+#endif
}