mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Do not attempt to pack JSON objects into S6 files.
This commit is contained in:
@@ -207,7 +207,8 @@ public:
|
||||
for (size_t i = 0; i < numObjects; i++)
|
||||
{
|
||||
const ObjectRepositoryItem* item = &_objectRepository.GetObjects()[i];
|
||||
if (item->LoadedObject != nullptr && IsObjectCustom(item) && item->LoadedObject->GetLegacyData() != nullptr)
|
||||
if (item->LoadedObject != nullptr && IsObjectCustom(item) && item->LoadedObject->GetLegacyData() != nullptr
|
||||
&& !item->LoadedObject->IsJsonObject())
|
||||
{
|
||||
objects.push_back(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user