From: TimePath Date: Mon, 15 Dec 2014 06:16:09 +0000 (+1100) Subject: `unbindall` from menu button instead X-Git-Tag: xonotic-v0.8.0~73^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=323843a0094e6766f46ad8bd9a1a92ab4fd32639;p=xonotic%2Fxonotic-data.pk3dir.git `unbindall` from menu button instead --- diff --git a/binds-default.cfg b/binds-default.cfg index 36d4bd6a0..f48842f8c 100644 --- a/binds-default.cfg +++ b/binds-default.cfg @@ -1,5 +1,3 @@ -unbindall - // alias for switching the teamselect menu bind f5 menu_showteamselect diff --git a/qcsrc/menu/xonotic/keybinder.c b/qcsrc/menu/xonotic/keybinder.c index 6fe961871..c312e3826 100644 --- a/qcsrc/menu/xonotic/keybinder.c +++ b/qcsrc/menu/xonotic/keybinder.c @@ -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");