Skip to content

Commit ab145c8

Browse files
committedJul 16, 2013
Randomly choose singleplayer port
1 parent ecb024a commit ab145c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,7 @@ int main(int argc, char *argv[])
16541654
current_playername = "singleplayer";
16551655
current_password = "";
16561656
current_address = "";
1657-
current_port = 30011;
1657+
current_port = myrand_range(49152, 65535);
16581658
}
16591659
else if (address != "")
16601660
{

0 commit comments

Comments
 (0)