`unbindall` from menu button instead
authorTimePath <andrew.hardaker1995@gmail.com>
Mon, 15 Dec 2014 06:16:09 +0000 (17:16 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Mon, 15 Dec 2014 06:16:09 +0000 (17:16 +1100)
binds-default.cfg
qcsrc/menu/xonotic/keybinder.c

index 36d4bd6..f48842f 100644 (file)
@@ -1,5 +1,3 @@
-unbindall
-
 // alias for switching the teamselect menu
 bind f5 menu_showteamselect
 
index 6fe9618..c312e38 100644 (file)
@@ -240,6 +240,7 @@ void KeyBinder_Bind_Clear(entity btn, entity me)
 }
 void KeyBinder_Bind_Reset_All(entity btn, entity me)
 {
+       localcmd("unbindall\n");
        localcmd("exec binds-default.cfg\n");
        localcmd("-zoom\n"); // to make sure we aren't in togglezoom'd state
        cvar_set("_hud_showbinds_reload", "1");