From: terencehill Date: Tue, 29 Oct 2024 08:36:31 +0000 (+0100) Subject: Fix spec_forfeit alias X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=051d529d24fdb4225976401f90780027e11e735e;p=xonotic%2Fxonotic-data.pk3dir.git Fix spec_forfeit alias --- 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 ${* ?}"