From f6cb95e534f4f9f6434f2482248245cd2535cf80 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 24 Dec 2016 17:26:30 +0000 Subject: [PATCH] Fix restart command skipping first command in title sequence --- src/title/TitleSequencePlayer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/title/TitleSequencePlayer.cpp b/src/title/TitleSequencePlayer.cpp index edbf72d2bc..ad464fd609 100644 --- a/src/title/TitleSequencePlayer.cpp +++ b/src/title/TitleSequencePlayer.cpp @@ -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.");