From fddeabf66068fa2bd12f07e2a4a349ea2d854745 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Sun, 6 Oct 2024 14:27:06 +0100 Subject: [PATCH] Fixed late-night copy paste fail --- src/lime_qt/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lime_qt/main.cpp b/src/lime_qt/main.cpp index d075ee0ac..ac96bebca 100644 --- a/src/lime_qt/main.cpp +++ b/src/lime_qt/main.cpp @@ -354,8 +354,9 @@ GMainWindow::GMainWindow(Core::System& system_) } // Launch game at path - if (i == args.size() - 1 && !args[i + 1].startsWith(QChar::fromLatin1('-'))) { - game_path = args[++i]; + if (i == args.size() - 1 && !args[i].startsWith(QChar::fromLatin1('-'))) { + game_path = args[i]; + continue; } }