Skip to content

Commit

Permalink
fix civ penalty
Browse files Browse the repository at this point in the history
  • Loading branch information
tbox1911 committed May 31, 2024
1 parent f697bfc commit ca337bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core.liberation/scripts/shared/kill_manager.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ca337bb

Please sign in to comment.