From 42acfb372ca020e1fc5bf39b1e970c035a7e5d30 Mon Sep 17 00:00:00 2001 From: RZSenfo Date: Sat, 23 Jun 2018 09:34:29 +0200 Subject: [PATCH] fix missing param as seen here https://github.com/EpochModTeam/Epoch/blob/a9dc9f044b58894f536b8dffbcc9ee013dc6ea8d/Sources/epoch_server/compile/epoch_player/EPOCH_fnc_updatePlayerStats.sqf#L15 second param is _killer (object) --- .../compile/functions/EPOCH_client_updatePlayerStat.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/epoch_code/compile/functions/EPOCH_client_updatePlayerStat.sqf b/Sources/epoch_code/compile/functions/EPOCH_client_updatePlayerStat.sqf index 2c96b4a4..81fec9ab 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_client_updatePlayerStat.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_client_updatePlayerStat.sqf @@ -41,5 +41,5 @@ private _newStat = _currentStat + _adjust; missionNameSpace setVariable[_statVarName,_newStat]; if(_toServer)then{ - [player, _statType, _adjust, false, Epoch_personalToken] remoteExec ["EPOCH_fnc_updatePlayerStats",2]; -}; \ No newline at end of file + [player, objNull, _statType, _adjust, false, Epoch_personalToken] remoteExec ["EPOCH_fnc_updatePlayerStats",2]; +};