forked from rosebudai/OpenRCT2-Web
Prevent peeps from spawning in the scenario editor.
Regression from 721dc00778.
This commit is contained in:
1 parent
7be4072eef
commit
2420a16e9e
1 file changed
+4
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user