Remove source object from Humanity hit network send

Source object is always player and not needed anymore after 8ea21a2
This commit is contained in:
ebaydayz
2016-10-02 13:25:55 -04:00
parent 9fd2f2270b
commit 4509902822
11 changed files with 15 additions and 16 deletions

View File

@@ -23,7 +23,7 @@ _timerMonitor = diag_ticktime;
player setVariable ["temperature",dayz_temperatur,true];
player setVariable["friendlies",DZE_Friends,true];
[player,0] call player_humanityChange;
[0,0] call player_humanityChange;
//player addMagazine "Hatchet_swing";
//player addWeapon "MeleeHatchet";
@@ -79,7 +79,7 @@ while {1 == 1} do {
_humanity = player getVariable ["humanity",0];
if (_humanity < 1 or _forceHumanity) then {
if (vehicle player != player) then {
[player, round(_timeOut / 10)] call player_humanityChange;
[round(_timeOut / 10),0] call player_humanityChange;
_forceHumanity = false;
} else {
_humanity = _humanity + round(_timeOut / 10);
@@ -93,7 +93,7 @@ while {1 == 1} do {
/*
if ((Dayz_loginCompleted) && (diag_tickTime < 25)) then {
[player,0] call player_humanityChange;
[0,0] call player_humanityChange;
diag_log ("Running");
_timer10 = diag_Ticktime;