mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Prevent peeps from spawning in the scenario editor.
Regression from 721dc00778.
This commit is contained in:
@@ -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