mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
fix filtering on object selection
This commit is contained in:
@@ -273,6 +273,7 @@ private:
|
||||
item.ObjectEntry = *object->GetObjectEntry();
|
||||
item.Path = String::Duplicate(path);
|
||||
item.Name = String::Duplicate(object->GetName());
|
||||
object->SetRepositoryItem(&item);
|
||||
AddItem(&item);
|
||||
|
||||
delete object;
|
||||
|
||||
Reference in New Issue
Block a user