Fix menu always reporting buffs
authorMario <mario@smbclan.net>
Tue, 24 Jan 2017 02:31:53 +0000 (12:31 +1000)
committerMario <mario@smbclan.net>
Tue, 24 Jan 2017 02:31:53 +0000 (12:31 +1000)
qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc

index ab52949..3ce8afc 100644 (file)
@@ -91,7 +91,7 @@ string XonoticMutatorsDialog_toString(entity me)
                s = strcat(s, ", ", _("Blood loss"));
        if(cvar("g_jetpack"))
                s = strcat(s, ", ", _("Jet pack"));
-       if(cvar("g_buffs"))
+       if(cvar("g_buffs") > 0)
                s = strcat(s, ", ", _("Buffs"));
        if(cvar("g_overkill"))
                s = strcat(s, ", ", _("Overkill"));