diff --git a/Addons/GBSUGui.cs b/Addons/GBSUGui.cs index d1447a3..c3d1966 100644 --- a/Addons/GBSUGui.cs +++ b/Addons/GBSUGui.cs @@ -18,7 +18,7 @@ public class GBSUGui : MonoBehaviour readonly IInputSystem inputSystem = UnityInput.Current; string serverip = null; - int serverport = 0; + int serverport = 5999; string currentmap; int vsync_switch; bool hosting = false; @@ -78,7 +78,7 @@ Set CLI arguments: -ip, -port, -servername, -serverpassword { Application.Quit(0); } - if (serverip != null && serverport != default) + if (serverip != null) { if (GUI.Button(new Rect(20f, 260f, 170f, 30f), "Host")) {