]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
`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 36d4bd6a06a67ba33627fa0e54f86a5ddac80536..f48842f8cdfffdde1f15aeb3b8fa6045d756aca4 100644 (file)
@@ -1,5 +1,3 @@
-unbindall
-
 // alias for switching the teamselect menu
 bind f5 menu_showteamselect
 
index 6fe961871c14c99ca0873e385d3af1e21593e826..c312e382656105a4824bd3b6e3c3568df0ee36ae 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");