]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 07fe09c100e0bd4a09498dec63b9a6f1bdbdea38..65edcdec9b48759ec8f7f6f166f23233d18d75d1 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"));