Skip to content

Commit

Permalink
Added explanation comment on ability application
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom authored Oct 21, 2023
1 parent 01341ec commit 55e2a02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cScripts/functions/gear/fn_gear_applyLoadout.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ switch (true) do {
};

// Abilities
// Apply only abilities for config loadouts to avoid resets of abilities when loading a saved loadout.
if (!_loadArray) then {
[_unit, _config] call EFUNC(gear,applyAbilities);
};
Expand Down

0 comments on commit 55e2a02

Please sign in to comment.