1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Randomly choose singleplayer port

This commit is contained in:
PilzAdam 2013-07-12 13:26:25 +02:00
parent ecb024af64
commit ab145c8827

View file

@ -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 != "")
{