makes supply boxes ignore weight restrictions for drag and carry
This commit is contained in:
@@ -32,9 +32,11 @@ if ( !hasInterface ) exitWith {};
|
||||
_args params ["_pos", "_target", "_keysSorted"];
|
||||
|
||||
|
||||
if ([_target, _typeOptionSelected, _pos] call milsim_fnc_createBox) then {
|
||||
["Resupply Box", format["Created a %1 box", _typeOptionSelected]] call BIS_fnc_curatorHint;
|
||||
private _box = [_target, _typeOptionSelected, _pos] call milsim_fnc_createBox;
|
||||
if (isNull _box) exitWith {
|
||||
["Resupply Box", "WARNING: Failed to locate or create box!"] call BIS_fnc_curatorHint;
|
||||
};
|
||||
["Resupply Box", format["Created a %1 box", _typeOptionSelected]] call BIS_fnc_curatorHint;
|
||||
},
|
||||
{},
|
||||
[_pos, _target, _options]
|
||||
|
||||
Reference in New Issue
Block a user