Skip to content

Commit

Permalink
fix perm unload from public
Browse files Browse the repository at this point in the history
  • Loading branch information
tbox1911 committed May 21, 2024
1 parent 0cc9db5 commit 60d9bb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if ( count _truck_load < _maxload ) then {
};

// Owner
if (!(_object_class in GRLIB_vehicle_blacklist)) then {
if (!(_object_class in GRLIB_vehicle_blacklist) && !(_truck_owner in ["", "public", "server"])) then {
_object setVariable ["GRLIB_vehicle_owner", _truck_owner, true];
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ private _all_objects = _truck getVariable ["GRLIB_ammo_truck_load", []];
{ _x allowDamage false } foreach _all_objects;
sleep 1;

private [ "_next_box", "_next_pos" ];
private ["_next_box", "_next_pos"];
{
_next_box = _x;
if (!isNull _next_box) then {
Expand Down

0 comments on commit 60d9bb3

Please sign in to comment.