Skip to content

Commit

Permalink
Fixed /connect parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
deathkiller committed Mar 26, 2020
1 parent 9f92623 commit 5174d3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jazz2/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ public static int Main(string[] args)
#if MULTIPLAYER
for (int i = 0; i < args.Length; i++) {
if (args[i].StartsWith("/connect:", StringComparison.InvariantCulture)) {
int idx = args[i].LastIndexOf(':', 10);
if (idx == -1) {
int idx = args[i].LastIndexOf(':');
if (idx < 10) {
continue;
}

Expand Down

0 comments on commit 5174d3b

Please sign in to comment.