From ca337bbc7e7975d85565d30d1b31b2a531b8f695 Mon Sep 17 00:00:00 2001 From: tbox1911 Date: Fri, 31 May 2024 12:34:08 +0200 Subject: [PATCH] fix civ penalty --- core.liberation/scripts/shared/kill_manager.sqf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core.liberation/scripts/shared/kill_manager.sqf b/core.liberation/scripts/shared/kill_manager.sqf index 41b249fd2..fbafe9a2d 100644 --- a/core.liberation/scripts/shared/kill_manager.sqf +++ b/core.liberation/scripts/shared/kill_manager.sqf @@ -114,9 +114,8 @@ if ( isServer ) then { if ( combat_readiness > 100 && GRLIB_difficulty_modifier < 2 ) then { combat_readiness = 100 }; }; }; - _isDriver = (driver (vehicle _killer) == _killer); - if ( _killer_side == GRLIB_side_friendly && (!isPlayer _killer) && (!_isDriver) ) then { + if ( _killer_side == GRLIB_side_friendly && (!isPlayer _killer)) then { private _owner_id = (vehicle _killer) getVariable ["GRLIB_vehicle_owner", ""]; if (_owner_id in ["", "server"]) then { _owner_id = (_killer getVariable ["PAR_Grp_ID", "0_0"]) splitString "_" select 1;