1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Fix bugs with zip and object manager changes

This commit is contained in:
Ted John
2018-05-04 21:42:20 +01:00
parent 23efe7f339
commit 9aef466b9b
2 changed files with 2 additions and 2 deletions

View File

@@ -270,7 +270,7 @@ namespace ObjectFactory
try
{
auto jRoot = Json::ReadFromFile(path.c_str());
CreateObjectFromJson(objectRepository, jRoot);
result = CreateObjectFromJson(objectRepository, jRoot);
json_decref(jRoot);
}
catch (const std::runtime_error &err)