forked from rosebudai/OpenRCT2-Web
Check if the game is in title sequence mode before loading it, fixes #1870
This commit is contained in:
1 parent
8c2d0b3730
commit
ba1101e012
1 file changed
+3
@@ -646,6 +646,9 @@ static uint8 *title_script_load()
|
||||
|
||||
bool title_refresh_sequence()
|
||||
{
|
||||
if(RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) != SCREEN_FLAGS_TITLE_DEMO)
|
||||
return;
|
||||
|
||||
_scriptCurrentPreset = gCurrentPreviewTitleSequence;
|
||||
title_sequence *title = &gConfigTitleSequences.presets[_scriptCurrentPreset];
|
||||
|
||||
|
||||
Reference in new issue
Block a user