forked from mirror/OpenTTD
(svn r23609) -Add: save/load all GameScript related material
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user