]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed bug with Telefrag medal
authorz411 <z411@omaera.org>
Sun, 22 Nov 2020 03:40:24 +0000 (00:40 -0300)
committerz411 <z411@omaera.org>
Sun, 22 Nov 2020 03:40:24 +0000 (00:40 -0300)
qcsrc/server/damage.qc

index 30c6cdca00f28d34bb795f13ad7151de30fce851..11befa3cfea4dcb897c2dd0ac6975feee4586991 100644 (file)
@@ -169,7 +169,7 @@ void Obituary_SpecialDeath(
                );
        }
        
-       if(deathtype != DEATH_TELEFRAG.m_id) {
+       if(deathtype == DEATH_TELEFRAG.m_id) {
                Give_Medal(attacker, TELEFRAG);
        }
 }