mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Fix restart command skipping first command in title sequence
This commit is contained in:
@@ -129,7 +129,10 @@ public:
|
||||
{
|
||||
break;
|
||||
}
|
||||
IncrementPosition();
|
||||
if (command->Type != TITLE_SCRIPT_RESTART)
|
||||
{
|
||||
IncrementPosition();
|
||||
}
|
||||
if (_position == entryPosition)
|
||||
{
|
||||
Console::Error::WriteLine("Infinite loop detected in title sequence.");
|
||||
|
||||
Reference in New Issue
Block a user