forked from rosebudai/OpenRCT2-Web
Fix #2178. Failure to load a scenario no longer causes intro to be playable.
This commit is contained in:
1 parent
5914558575
commit
eaffec651c
1 file changed
+2
-1
+2
-1
@@ -277,7 +277,8 @@ void openrct2_launch()
|
||||
break;
|
||||
case STARTUP_ACTION_OPEN:
|
||||
assert(gOpenRCT2StartupActionPath != NULL);
|
||||
rct2_open_file(gOpenRCT2StartupActionPath);
|
||||
if (rct2_open_file(gOpenRCT2StartupActionPath) == 0)
|
||||
break;
|
||||
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) = SCREEN_FLAGS_PLAYING;
|
||||
|
||||
|
||||
Reference in new issue
Block a user