feat: make 5999 the default serverport
This commit is contained in:
parent
4b7b22aad4
commit
9599a6d652
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ public class GBSUGui : MonoBehaviour
|
||||||
|
|
||||||
readonly IInputSystem inputSystem = UnityInput.Current;
|
readonly IInputSystem inputSystem = UnityInput.Current;
|
||||||
string serverip = null;
|
string serverip = null;
|
||||||
int serverport = 0;
|
int serverport = 5999;
|
||||||
string currentmap;
|
string currentmap;
|
||||||
int vsync_switch;
|
int vsync_switch;
|
||||||
bool hosting = false;
|
bool hosting = false;
|
||||||
|
|
@ -78,7 +78,7 @@ Set CLI arguments: -ip, -port, -servername, -serverpassword
|
||||||
{
|
{
|
||||||
Application.Quit(0);
|
Application.Quit(0);
|
||||||
}
|
}
|
||||||
if (serverip != null && serverport != default)
|
if (serverip != null)
|
||||||
{
|
{
|
||||||
if (GUI.Button(new Rect(20f, 260f, 170f, 30f), "Host"))
|
if (GUI.Button(new Rect(20f, 260f, 170f, 30f), "Host"))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue