feat: added "menu" panic button
This avoids restarting the game when encountering an unknown issue.
This commit is contained in:
parent
b9a7a1c479
commit
34d9e9261e
4 changed files with 46 additions and 3 deletions
|
|
@ -59,6 +59,10 @@ Set CLI arguments: -ip, -port (optionally -maplist)
|
|||
{
|
||||
Application.Quit(0);
|
||||
}
|
||||
if (GUI.Button(new Rect(320f, 45f, 55f, 30f), "Menu"))
|
||||
{
|
||||
Helper.SwitchToMenu();
|
||||
}
|
||||
if (Helper.serverip != null)
|
||||
{
|
||||
if (GUI.Button(new Rect(20f, 260f, 170f, 30f), "Host"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue