Skip to content

Commit

Permalink
Abilites are not reset on saved or array loadouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Sep 16, 2023
1 parent cf3dcc0 commit bad04e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cScripts/functions/gear/fn_gear_applyLoadout.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ switch (true) do {
};

// Abilities
[_unit, _config] call EFUNC(gear,applyAbilities);
if (!_loadArray) {
[_unit, _config] call EFUNC(gear,applyAbilities);
};

// Functions
if (GVAR(isPlayer)) then {
Expand Down

0 comments on commit bad04e3

Please sign in to comment.