summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 580260ade..8ed164d1f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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 != "")
{