mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-26 11:34:18 +01:00
Fixed late-night copy paste fail
This commit is contained in:
parent
bc83c922a1
commit
38cbf4a069
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user