Update fn_damageHandler.sqf

Continuation of 50ba58f

Also removed some unused variables
This commit is contained in:
ebayShopper
2017-03-30 17:26:25 -04:00
parent 746b921321
commit b3fdd26d3b
4 changed files with 30 additions and 26 deletions

View File

@@ -7,9 +7,11 @@ deathHandled = true;
if (typeName (_this select 0) == "ARRAY") then {
_body = (_this select 0) select 0;
_source = (_this select 0) select 1;
diag_log format["Player_Death called from 'killed' event handler %1",_this];
} else {
_body = player;
_source = _this select 0;
diag_log format["Player_Death called from script %1",_this];
};
_deathPos = getPos _body;