mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Fav bar and accessories
This commit is contained in:
parent
946c39efa9
commit
d2ebcbe0ae
@ -353,9 +353,9 @@ _fnc_dropEquipAccessories = {
|
|||||||
_equipped call _fnc_dropItem;
|
_equipped call _fnc_dropItem;
|
||||||
(_loadout select _slot) set [_accessory,""];
|
(_loadout select _slot) set [_accessory,""];
|
||||||
player setUnitLoadout _loadout;
|
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];
|
(_loadout select _slot) set [_accessory,_item];
|
||||||
player setUnitLoadout _loadout;
|
player setUnitLoadout _loadout;
|
||||||
player addItem _equipped;
|
player addItem _equipped;
|
||||||
|
Loading…
Reference in New Issue
Block a user