From 051d529d24fdb4225976401f90780027e11e735e Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 29 Oct 2024 09:36:31 +0100 Subject: [PATCH] Fix spec_forfeit alias --- commands.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.cfg b/commands.cfg index bae77424f..75e052ba2 100644 --- a/commands.cfg +++ b/commands.cfg @@ -213,13 +213,13 @@ alias team_auto "togglemenu 0; cmd selectteam auto; cmd join" // Xonotic 0.9.0 update: menu will change any spec bind to spec_forfeit (and set this cvar to 1) -// TODO remove menu code and this cvar in a later Xonotic version +// TODO remove this cvar and related menu code in a later Xonotic version seta _spec_forfeit_bindupdate 0 seta menu_ask_forfeit 1 "ask for forfeit confirmation" alias spec_forfeit0 "spectate" alias spec_forfeit1 "spectate \"\" ASK_FORFEIT" -alias spec_forfeit "spec_ask_forfeit${menu_ask_forfeit}" +alias spec_forfeit "spec_forfeit${menu_ask_forfeit}" alias spec "spectate ${* ?}" -- 2.39.2