Skip to content

Commit

Permalink
Properly fix restart loop
Browse files Browse the repository at this point in the history
  • Loading branch information
IonAgorria committed Apr 21, 2024
1 parent 0e63240 commit dad6432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Game/Runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1122,8 +1122,8 @@ int SDL_main(int argc, char *argv[])
//These are passed internally and are not supposed to pass into next instance
continue;
}
if (startsWith(arg, "initial_menu")) {
//Ignore it as is only for first time
if (startsWith(arg, "initial_menu") || startsWith(arg, "content_select")) {
//Ignore it as is only for first time, also some can cause game restart in a loop
continue;
}

Expand Down

0 comments on commit dad6432

Please sign in to comment.