From 316032b8b9ab32b568753cec3c3330145cb9cfbd Mon Sep 17 00:00:00 2001 From: F507DMT <12347771234@mail.ru> Date: Mon, 3 May 2021 17:55:21 +0600 Subject: [PATCH] Update veh_handleKilled.sqf private fix --- SQF/dayz_code/compile/veh_handleKilled.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/veh_handleKilled.sqf b/SQF/dayz_code/compile/veh_handleKilled.sqf index d577ce24e..85e794f7b 100644 --- a/SQF/dayz_code/compile/veh_handleKilled.sqf +++ b/SQF/dayz_code/compile/veh_handleKilled.sqf @@ -1,4 +1,4 @@ -_unit = _this select 0; +local _unit = _this select 0; //_killer = _this select 1; // ask server to set global damage to 1, save to the hive @@ -15,4 +15,4 @@ if (local _unit) then { _unit removeAllEventHandlers "HandleDamage"; _unit removeAllEventHandlers "Killed"; _unit removeAllEventHandlers "GetIn"; -_unit removeAllEventHandlers "GetOut"; \ No newline at end of file +_unit removeAllEventHandlers "GetOut";