forked from rosebudai/OpenRCT2-Web
initialise legacy object list on startup
This commit is contained in:
1 parent
b10b57e9dc
commit
8fd81c3b75
1 file changed
+3
@@ -635,6 +635,9 @@ extern "C"
|
||||
{
|
||||
IObjectRepository * objectRepository = GetObjectRepository();
|
||||
objectRepository->LoadOrConstruct();
|
||||
|
||||
IObjectManager * objectManager = GetObjectManager();
|
||||
objectManager->UnloadAll();
|
||||
}
|
||||
|
||||
bool object_load_entries(rct_object_entry * entries)
|
||||
|
||||
Reference in new issue
Block a user