Remove definition of a server cvar from the menu
authorterencehill <piuntn@gmail.com>
Sun, 20 Nov 2016 23:07:50 +0000 (00:07 +0100)
committerterencehill <piuntn@gmail.com>
Sun, 20 Nov 2016 23:07:50 +0000 (00:07 +0100)
qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc

index 07fe09c..65edcde 100644 (file)
@@ -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"));