1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Write new object identifiers to park file

This commit is contained in:
Ted John
2021-03-30 23:26:49 +01:00
parent 62c6daecc0
commit 638bbebe59
20 changed files with 176 additions and 203 deletions

View File

@@ -523,7 +523,7 @@ namespace OpenRCT2
auto importer = ParkImporter::CreateS6(context->GetObjectRepository());
auto loadResult = importer->LoadFromStream(&data.parkData, false);
objManager.LoadObjects(loadResult.RequiredObjects.data(), loadResult.RequiredObjects.size());
objManager.LoadObjects(loadResult.RequiredObjects);
importer->Import();