summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r--src/genworld.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp
index e450aa2b9..f36837879 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -33,6 +33,7 @@
#include "core/backup_type.hpp"
#include "progress.h"
#include "error.h"
+#include "game/game.hpp"
#include "table/sprites.h"
@@ -162,6 +163,10 @@ static void _GenerateWorld(void *)
RunTileLoop();
IncreaseGeneratingWorldProgress(GWP_RUNTILELOOP);
}
+
+ if (_game_mode != GM_EDITOR) {
+ Game::StartNew();
+ }
}
ResetObjectToPlace();