1
0
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:
Ted John
2016-12-24 17:26:30 +00:00
parent ff6f46bce3
commit f6cb95e534

View File

@@ -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.");