fix: catch more edge cases
This commit is contained in:
parent
5eedbf2f1e
commit
b9a7a1c479
4 changed files with 28 additions and 25 deletions
|
|
@ -93,14 +93,7 @@ Make sure to download a file from the examples given and rename it to config.jso
|
|||
{
|
||||
if (LobbyManager.Instance.LobbyStates.SelfState == LobbyState.Game.Online)
|
||||
{
|
||||
if (!Helper.hosting)
|
||||
{
|
||||
GBSUClient.JoinServer(Helper.serverip, Helper.serverport);
|
||||
}
|
||||
else
|
||||
{
|
||||
PushError("You are currently hosting a match! Please restart the game before attempting to join.");
|
||||
}
|
||||
GBSUClient.JoinServer(Helper.serverip, Helper.serverport);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -108,10 +101,6 @@ Make sure to download a file from the examples given and rename it to config.jso
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
PushError("Couldn't find the -ip CLI argument. Please refer to the documentation.");
|
||||
}
|
||||
|
||||
if (GUI.Button(new Rect(20f, 295f, 170f, 30f), "Cap FPS to 60"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue