From d2ebcbe0aeb6d10e86d34cb28c8c245612bcef9a Mon Sep 17 00:00:00 2001 From: 82ndab-Bravo17 <82ndab.bravo17@gmail.com> Date: Sat, 28 Oct 2017 17:57:55 -0400 Subject: [PATCH] Fav bar and accessories --- Sources/epoch_code/compile/inventory/EPOCH_equip.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/epoch_code/compile/inventory/EPOCH_equip.sqf b/Sources/epoch_code/compile/inventory/EPOCH_equip.sqf index e7bb981f..1926b695 100644 --- a/Sources/epoch_code/compile/inventory/EPOCH_equip.sqf +++ b/Sources/epoch_code/compile/inventory/EPOCH_equip.sqf @@ -353,9 +353,9 @@ _fnc_dropEquipAccessories = { _equipped call _fnc_dropItem; (_loadout select _slot) set [_accessory,""]; player setUnitLoadout _loadout; - _return = 1; + _return = 2; }; - if (((toLower _equipped) != (toLower _item)) || _forceEquip && _return != 4) then { + if ((((toLower _equipped) != (toLower _item)) || _forceEquip) && _return != 4) then { (_loadout select _slot) set [_accessory,_item]; player setUnitLoadout _loadout; player addItem _equipped;