summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r--src/genworld.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp
index 27ea4fd4d..c6c15cc39 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -23,6 +23,7 @@
#include "core/random_func.hpp"
#include "engine.h"
#include "settings_type.h"
+#include "newgrf_storage.h"
#include "table/sprites.h"
@@ -118,6 +119,8 @@ static void *_GenerateWorld(void *arg)
}
}
+ ClearStorageChanges(true);
+
/* These are probably pointless when inside the scenario editor. */
SetGeneratingWorldProgress(GWP_GAME_INIT, 3);
StartupPlayers();