Skip to content

Commit

Permalink
Randomly choose singleplayer port
Browse files Browse the repository at this point in the history
  • Loading branch information
PilzAdam committed Jul 12, 2013
1 parent fc6725f commit 7da83f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Expand Up @@ -1654,7 +1654,7 @@ int main(int argc, char *argv[])
current_playername = "singleplayer";
current_password = "";
current_address = "";
current_port = 30011;
current_port = myrand_range(49152, 65535);
}
else if (address != "")
{
Expand Down

0 comments on commit 7da83f8

Please sign in to comment.