Fix gunshot study body death message

Vanilla commit:

9993400f97
This commit is contained in:
ebaydayz
2016-08-21 12:02:10 -04:00
parent fd90eda8ae
commit 92fbfdfdae
2 changed files with 2 additions and 2 deletions

View File

@@ -143,10 +143,10 @@ if (_unit == player) then {
//Log to server :-( OverProcessing really not needed.
if (((!(isNil {_source})) AND {(!(isNull _source))}) AND {((_source isKindOf "CAManBase") AND {(!local _source )})}) then {
_wpst = weaponState _source;
if (diag_ticktime-(_source getVariable ["lastloghit",0])>2) then {
private ["_sourceWeap"];
_source setVariable ["lastloghit",diag_ticktime];
_wpst = weaponState _source;
_sourceDist = round(_unit distance _source);
_sourceWeap = switch (true) do {