Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Randomly choose singleplayer port
  • Loading branch information
PilzAdam committed Jul 16, 2013
1 parent ecb024a commit ab145c8
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 ab145c8

Please sign in to comment.