forked from rosebudai/OpenRCT2-Web
Avoid considering climate objects as 'unused'
This commit is contained in:
1 parent
ac06d99408
commit
fb9df58e1c
1 file changed
+4
@@ -753,6 +753,10 @@ int32_t EditorRemoveUnusedObjects()
|
||||
if (objectType == ObjectType::peepAnimations)
|
||||
continue;
|
||||
|
||||
// Avoid deleting climate objects, as they're not bound to entities.
|
||||
if (objectType == ObjectType::climate)
|
||||
continue;
|
||||
|
||||
// It’s hard to determine exactly if a scenery group is used, so do not remove these automatically.
|
||||
if (objectType == ObjectType::sceneryGroup)
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user