Fix death messages

This commit is contained in:
icomrade
2014-06-09 13:01:56 -04:00
parent 92b942757d
commit b144c7dce6
4 changed files with 8 additions and 6 deletions

View File

@@ -4,7 +4,9 @@ _attacker = _this select 1;
_damage = _this select 2;
if (!isPlayer _victim || !isPlayer _attacker) exitWith {};
if ((owner _victim) == (owner _attacker)) exitWith {};
if ((owner _victim) == (owner _attacker)) exitWith {
_victim setVariable["AttackedBy", _victim, true];
};
_weapon = weaponState _attacker;
if (_weapon select 0 == "Throw") then