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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user