From: terencehill Date: Sun, 20 Nov 2016 23:07:50 +0000 (+0100) Subject: Remove definition of a server cvar from the menu X-Git-Tag: xonotic-v0.8.2~423 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e2ef7677dab01d70d9dd66e566e81068cc15c4cf;p=xonotic%2Fxonotic-data.pk3dir.git Remove definition of a server cvar from the menu --- diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc index 07fe09c10..65edcdec9 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc @@ -53,8 +53,6 @@ string WeaponArenaString() return weaponarenastring; } -AUTOCVAR(g_grappling_hook, bool, _("let players spawn with the grappling hook which allows them to pull themselves up")); - string XonoticMutatorsDialog_toString(entity me) { string s; @@ -79,7 +77,7 @@ string XonoticMutatorsDialog_toString(entity me) s = strcat(s, ", ", _("Low gravity")); if(cvar("g_cloaked")) s = strcat(s, ", ", _("Cloaked")); - if(autocvar_g_grappling_hook) + if(cvar("g_grappling_hook")) s = strcat(s, ", ", _("Hook")); if(cvar("g_midair")) s = strcat(s, ", ", _("Midair"));