From: Mario Date: Sun, 26 May 2013 12:11:21 +0000 (+1000) Subject: Only apply laser damage reduction to players X-Git-Tag: xonotic-v0.8.0~366^2~23^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=13c488c1c9d535ff9ee05695c4ad0c15683e32cc;p=xonotic%2Fxonotic-data.pk3dir.git Only apply laser damage reduction to players --- diff --git a/qcsrc/server/mutators/mutator_riflearena.qc b/qcsrc/server/mutators/mutator_riflearena.qc index b9af80509..7ad0ff6cb 100644 --- a/qcsrc/server/mutators/mutator_riflearena.qc +++ b/qcsrc/server/mutators/mutator_riflearena.qc @@ -199,6 +199,7 @@ MUTATOR_HOOKFUNCTION(ra_VehicleEnter) MUTATOR_HOOKFUNCTION(ra_PlayerDamage) { if(IS_PLAYER(frag_attacker)) + if(IS_PLAYER(frag_target)) { if (DEATH_ISWEAPON(frag_deathtype, WEP_LASER)) {