Skip to content

Commit

Permalink
clean tent far
Browse files Browse the repository at this point in the history
  • Loading branch information
tbox1911 committed May 4, 2024
1 parent 725c99f commit 826b4af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core.liberation/scripts/server/game/cleanup_player.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ private _my_veh = vehicles select { _x getVariable ["GRLIB_vehicle_owner", ""] =
} forEach _my_veh;

// Remove tents too far
private _my_tent = [];
if (!isNil "GRLIB_mobile_respawn") then {
_my_tent = GRLIB_mobile_respawn select {
private _my_tent = GRLIB_mobile_respawn select {
!([_x, "FOB", GRLIB_fob_range] call F_check_near) &&
isNil {_x getVariable "R3F_LOG_est_transporte_par"} &&
isNull (_x getVariable "R3F_LOG_est_transporte_par") &&
(_x getVariable ["GRLIB_vehicle_owner", ""] == _uid)
};
{
Expand Down

0 comments on commit 826b4af

Please sign in to comment.