mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix restart command skipping first command in title sequence
This commit is contained in:
parent
ff6f46bce3
commit
f6cb95e534
|
@ -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.");
|
||||
|
|
Loading…
Reference in New Issue