X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_damage.qc;h=7b02f4e5ecdc9a2fe0446c49782089aa4b89dd43;hp=d77d614759e00944a15474e8bd4097785f39bbf4;hb=dbcdd58814a7281aef637c8c07a02242331c4c86;hpb=19a4a52c42e00347a51b62ff1e5adcadecda31e0 diff --git a/qcsrc/server/g_damage.qc b/qcsrc/server/g_damage.qc index d77d61475..7b02f4e5e 100644 --- a/qcsrc/server/g_damage.qc +++ b/qcsrc/server/g_damage.qc @@ -458,10 +458,7 @@ void Obituary (entity attacker, entity inflictor, entity targ, float deathtype) attacker.killcount = attacker.killcount + 1; - if (attacker.killcount > 2) { - Send_KillNotification(a, ftos(attacker.killcount), "", KILL_SPREE, MSG_SPREE); - } - else if (attacker.killcount == 3) + if (attacker.killcount == 3) { Send_KillNotification(a, "", "", KILL_SPREE_3, MSG_SPREE); AnnounceTo(attacker, "03kills"); @@ -503,6 +500,9 @@ void Obituary (entity attacker, entity inflictor, entity targ, float deathtype) AnnounceTo(attacker, "30kills"); PlayerStats_Event(attacker, PLAYERSTATS_ACHIEVEMENT_KILL_SPREE_30, 1); } + else if (attacker.killcount > 2) { + Send_KillNotification(a, ftos(attacker.killcount), "", KILL_SPREE, MSG_SPREE); + } LogDeath("frag", deathtype, attacker, targ); } }