diff --git a/addons/KP_Ranks/fnc/fn_getAceKiller.sqf b/addons/KP_Ranks/fnc/fn_getAceKiller.sqf index cdb2f6a..05c216c 100644 --- a/addons/KP_Ranks/fnc/fn_getAceKiller.sqf +++ b/addons/KP_Ranks/fnc/fn_getAceKiller.sqf @@ -31,6 +31,7 @@ if (isNull _instigator || _instigator == _killed) then { // In ACE, only the owner of the killed object (where it's local) can get the value of this variable, as it's not public if (local _killed) then { KPR_aceKiller = _killed getVariable ["ace_medical_lastDamageSource", _killer]; + if (KPR_levelDebug) then {diag_log format ["[KP RANKS] [LEVEL] %1 is local to server. Instigator is: %2.", _killed, KPR_aceKiller];}; } else { if (KPR_levelDebug) then {diag_log format ["[KP RANKS] [LEVEL] %1 not local to server. Asking owner for data.", _killed];}; // Ask the owner for the information @@ -45,8 +46,8 @@ if (isNull _instigator || _instigator == _killed) then { if (KPR_levelDebug && !(_this select 2)) then {diag_log format ["[KP RANKS] [LEVEL] Data received in %1ms", diag_tickTime - (_this select 3)];}; }, [_killed, _killer, local _killed, _start], - 2, - {diag_log format ["[KP RANKS] [WARNING] No data received for %1 during the last 2 seconds, skipping event.", _this select 0];} + 1, + {diag_log format ["[KP RANKS] [WARNING] No data received for %1 during the last second, skipping event.", _this select 0];} ] call CBA_fnc_waitUntilAndExecute; } else { // Directly move to the usual entity killed handling