From 1e9a18ae9cb038ecfa53faec23a95a74e1cb1f79 Mon Sep 17 00:00:00 2001 From: div0 Date: Wed, 27 Jan 2010 06:30:24 +0000 Subject: [PATCH] fix the havoc button when connected git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8576 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/menu/nexuiz/modbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/qcsrc/menu/nexuiz/modbutton.c b/data/qcsrc/menu/nexuiz/modbutton.c index b12490d56..d770ed0a7 100644 --- a/data/qcsrc/menu/nexuiz/modbutton.c +++ b/data/qcsrc/menu/nexuiz/modbutton.c @@ -19,7 +19,7 @@ entity makeNexuizModButton(string menu) void NexuizModButton_Click(entity me, entity other) { string thecmd; - thecmd = strcat("\nmenu_restart"); + thecmd = strcat("\ndisconnect\nmenu_restart"); if (me.destination != "") thecmd = strcat(thecmd, "\ntogglemenu\ndefer 0.1 \"menu_cmd directmenu ", me.destination,"\"\n"); -- 2.39.2