Merge pull request #952 from 82ndab-Bravo17/favbar

Fav bar and accessories
This commit is contained in:
vbawol 2017-10-28 17:25:49 -05:00 committed by GitHub
commit 197df4863e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;