feat: added "menu" panic button

This avoids restarting the game when encountering an unknown issue.
This commit is contained in:
anavoi 2025-07-14 00:14:11 +02:00
commit 34d9e9261e
4 changed files with 46 additions and 3 deletions

View file

@ -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"))