mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 05:23:04 +01:00
Write new object identifiers to park file
This commit is contained in:
@@ -45,7 +45,7 @@ static std::unique_ptr<IContext> localStartGame(const std::string& parkPath)
|
||||
|
||||
auto importer = ParkImporter::CreateS6(context->GetObjectRepository());
|
||||
auto loadResult = importer->LoadSavedGame(parkPath.c_str(), false);
|
||||
context->GetObjectManager().LoadObjects(loadResult.RequiredObjects.data(), loadResult.RequiredObjects.size());
|
||||
context->GetObjectManager().LoadObjects(loadResult.RequiredObjects);
|
||||
importer->Import();
|
||||
|
||||
reset_sprite_spatial_index();
|
||||
|
||||
Reference in New Issue
Block a user