mirror of https://github.com/OpenRCT2/OpenRCT2.git
Prevent peeps from spawning in the scenario editor.
Regression from 721dc00778
.
This commit is contained in:
parent
7be4072eef
commit
2420a16e9e
|
@ -579,6 +579,10 @@ void Park::Initialise()
|
|||
|
||||
void Park::Update()
|
||||
{
|
||||
// TODO: move when GameState class is introduced.
|
||||
if (gScreenFlags & (SCREEN_FLAGS_SCENARIO_EDITOR | SCREEN_FLAGS_TRACK_DESIGNER | SCREEN_FLAGS_TRACK_MANAGER))
|
||||
return;
|
||||
|
||||
// Every 5 seconds approximately
|
||||
if (gCurrentTicks % 512 == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue