forked from rosebudai/OpenRCT2-Web
Do not reload ride type to ride entry map unless actually loading a ride object
This commit is contained in:
1 file changed
+2
-1
@@ -393,7 +393,8 @@ namespace OpenRCT2
|
||||
loadedObject = object;
|
||||
list[*slot] = object;
|
||||
UpdateSceneryGroupIndexes();
|
||||
ResetTypeToRideEntryIndexMap();
|
||||
if (objectType == ObjectType::ride)
|
||||
ResetTypeToRideEntryIndexMap();
|
||||
}
|
||||
}
|
||||
return loadedObject;
|
||||
|
||||
Reference in new issue
Block a user