From: z411 Date: Sun, 4 Oct 2020 19:28:41 +0000 (-0300) Subject: Fixed humiliation medal X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e4a3874e7376a156128137fb09f26cad1fe457f7;p=xonotic%2Fxonotic-data.pk3dir.git Fixed humiliation medal --- diff --git a/qcsrc/server/damage.qc b/qcsrc/server/damage.qc index 988d86c3b..6aa915507 100644 --- a/qcsrc/server/damage.qc +++ b/qcsrc/server/damage.qc @@ -207,7 +207,7 @@ float Obituary_WeaponDeath( if(attacker) { switch(death_message) { case WEAPON_SHOTGUN_MURDER_SLAP: - if(!autocvar_g_melee_only) { // don't spam humiliation if we're in melee_only mode + if(!cvar("g_melee_only")) { // don't spam humiliation if we're in melee_only mode Give_Medal(attacker, HUMILIATION); } break;