mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Check if the game is in title sequence mode before loading it, fixes #1870
This commit is contained in:
@@ -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