From: LegendaryGuard Date: Tue, 12 Oct 2021 22:28:34 +0000 (+0200) Subject: Fix conditionals in FragCenterMessage X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4312e9e4b06651fff165eff9e27dcd120113a12a;p=xonotic%2Fxonotic-data.pk3dir.git Fix conditionals in FragCenterMessage --- diff --git a/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc b/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc index ba391d8af..5e804c490 100644 --- a/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc +++ b/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc @@ -426,7 +426,7 @@ MUTATOR_HOOKFUNCTION(mmm, FragCenterMessage) // Conditions that count as team kill in MMM if((attacker.mmm_status == targ.mmm_status) || (attacker.mmm_status == MMM_STATUS_DETECTIVE && targ.mmm_status == MMM_STATUS_CIVILIAN) || - (attacker.mmm_status == MMM_STATUS_CIVILIAN && targ.mmm_status == MMM_STATUS_CIVILIAN) + (attacker.mmm_status == MMM_STATUS_CIVILIAN && targ.mmm_status == MMM_STATUS_DETECTIVE) ) { Send_Notification(NOTIF_ONE, attacker, MSG_CENTER, CENTER_DEATH_TEAMKILL_FRAG, targ.netname);