summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/newgrf.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 17e5ee6a0..d5dfc427c 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -9853,6 +9853,8 @@ void LoadNewGRF(uint load_index, uint num_baseset)
num_non_static++;
}
+ num_grfs++;
+
LoadNewGRFFile(c, stage, subdir, false);
if (stage == GLS_RESERVE) {
SetBit(c->flags, GCF_RESERVED);