From a0e3235f32d9dc039022b6b4d9e5b08c5e0d4e59 Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 23 Jun 2020 12:44:12 +0200 Subject: [PATCH] Resolve a long-standing TODO hat had already been resolved at the time of addition --- qcsrc/menu/xonotic/colorbutton.qc | 1 - qcsrc/menu/xonotic/dialog_multiplayer_profile.qc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/menu/xonotic/colorbutton.qc b/qcsrc/menu/xonotic/colorbutton.qc index 6675c1aee..f9db47f99 100644 --- a/qcsrc/menu/xonotic/colorbutton.qc +++ b/qcsrc/menu/xonotic/colorbutton.qc @@ -69,7 +69,6 @@ void XonoticColorButton_saveCvars(entity me) else cvar_set(me.cvarName, ftos((cvar(me.cvarName) & 240) + me.cvarValueFloat)); } - // TODO on an apply button, read _cl_color and execute the color command for it } void XonoticColorButton_draw(entity me) { diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc b/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc index 4405d98de..e6d9e3492 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc @@ -36,7 +36,7 @@ void XonoticProfileTab_fill(entity me) entity e, pms, label, box; float i; entity profileApplyButton = makeXonoticCommandButton(_("Apply immediately"), '0 0 0', - "color -1 -1;" + "color -1 -1;" // apply colors contained in _cl_color "name \"$_cl_name\";" "playermodel $_cl_playermodel;" "playerskin $_cl_playerskin;" -- 2.39.2