Skip to content

Commit

Permalink
fix fob count
Browse files Browse the repository at this point in the history
  • Loading branch information
tbox1911 committed Feb 8, 2025
1 parent f0eddce commit c9e4a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.liberation/scripts/client/actions/do_build_fob.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ private _box_type = typeOf _box;
//only one at time
if ((_box getVariable ["box_in_use", false])) exitWith {};

if (_box_type == FOB_box_typename && count (GRLIB_all_fobs - GRLIB_all_outposts) >= GRLIB_max_fobs) exitWith {
if (_box_type in [FOB_box_typename, FOB_truck_typename, FOB_boat_typename] && count (GRLIB_all_fobs - GRLIB_all_outposts) >= GRLIB_max_fobs) exitWith {
hint format [localize "STR_HINT_FOBS_EXCEEDED", GRLIB_max_fobs];
};
if (_box_type == FOB_box_outpost && count (GRLIB_all_outposts) >= GRLIB_max_outpost) exitWith {
Expand Down

0 comments on commit c9e4a70

Please sign in to comment.