[nexuiz-commits] r8576 - trunk/data/qcsrc/menu/nexuiz

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jan 27 01:30:24 EST 2010


Author: div0
Date: 2010-01-27 01:30:24 -0500 (Wed, 27 Jan 2010)
New Revision: 8576

Modified:
   trunk/data/qcsrc/menu/nexuiz/modbutton.c
Log:
fix the havoc button when connected

Modified: trunk/data/qcsrc/menu/nexuiz/modbutton.c
===================================================================
--- trunk/data/qcsrc/menu/nexuiz/modbutton.c	2010-01-26 21:22:18 UTC (rev 8575)
+++ trunk/data/qcsrc/menu/nexuiz/modbutton.c	2010-01-27 06:30:24 UTC (rev 8576)
@@ -19,7 +19,7 @@
 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");



More information about the nexuiz-commits mailing list