Remove some unused setVariables

This commit is contained in:
ebaydayz
2017-01-29 16:09:50 -05:00
parent cfd0f74870
commit 3224a21363
3 changed files with 4 additions and 9 deletions

View File

@@ -17,13 +17,12 @@ _method = _this select 9;
//Mark player as dead so we bypass the ghost system
dayz_died set [count dayz_died, _playerID];
_newObject setVariable ["processedDeath",diag_tickTime];
_newObject setVariable ["bodyName",_playerName,true];
_pos = getPosATL _newObject;
// force to follow the terrain slope in sched_corpses.sqf
if (_pos select 2 < 0.1) then {_pos set [2,0];};
_newObject setVariable ["deathPos",_pos];
//if (_pos select 2 < 0.1) then {_pos set [2,0];};
//_newObject setVariable ["deathPos",_pos];
if (typeName _minutes == "STRING") then {_minutes = parseNumber _minutes;};