Skip to content

Commit

Permalink
Update fnc_doCheckBody.sqf
Browse files Browse the repository at this point in the history
Updated with removeBackpackGlobal
  • Loading branch information
nk3nny committed Feb 18, 2024
1 parent 4db21c9 commit e3f6997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/main/functions/UnitAction/fnc_doCheckBody.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ _unit setVariable [QEGVAR(danger,forceMove), true];
if ((backpack _unit) isEqualTo "" && {backpack _body isNotEqualTo ""}) then {
private _items = backpackItems _body;
private _backpack = backpack _body;
removeBackpack _body;
removeBackpackGlobal _body;
_unit addBackpack _backpack;
{_unit addItemToBackpack _x} forEach _items;
};
Expand Down

0 comments on commit e3f6997

Please sign in to comment.