forked from rosebudai/OpenRCT2-Web
Merge pull request #2819 from janisozaur/headless
Don't update title screen when running headlessly
This commit is contained in:
commit
dff4a693e7
1 file changed
+1
-1
+1
-1
@@ -449,7 +449,7 @@ void rct2_update()
|
||||
// Screens
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_RUN_INTRO_TICK_PART, uint8) != 0)
|
||||
intro_update();
|
||||
else if (RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_TITLE_DEMO)
|
||||
else if ((RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_TITLE_DEMO) && !gOpenRCT2Headless)
|
||||
title_update();
|
||||
else
|
||||
game_update();
|
||||
|
||||
Reference in new issue
Block a user