forked from Mirrorlandia_minetest/minetest
Randomly choose singleplayer port
This commit is contained in:
parent
ecb024af64
commit
ab145c8827
@ -1654,7 +1654,7 @@ int main(int argc, char *argv[])
|
|||||||
current_playername = "singleplayer";
|
current_playername = "singleplayer";
|
||||||
current_password = "";
|
current_password = "";
|
||||||
current_address = "";
|
current_address = "";
|
||||||
current_port = 30011;
|
current_port = myrand_range(49152, 65535);
|
||||||
}
|
}
|
||||||
else if (address != "")
|
else if (address != "")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user