mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix #2178. Failure to load a scenario no longer causes intro to be playable.
This commit is contained in:
@@ -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