mirror of https://github.com/OpenRCT2/OpenRCT2.git
Ensure park_init is only called on constructed parks
This commit is contained in:
parent
665f34326b
commit
8b3cad5ca0
|
@ -1073,6 +1073,10 @@ sint32 park_is_open()
|
|||
|
||||
void park_init()
|
||||
{
|
||||
if (_singleton == nullptr)
|
||||
{
|
||||
return;
|
||||
}
|
||||
_singleton->Initialise();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue