Skip to content

Commit

Permalink
Lowercase ID for backwards compatibility
Browse files Browse the repository at this point in the history
Co-authored-by: Grim <[email protected]>
  • Loading branch information
BaerMitUmlaut and LinkIsGrim authored Nov 4, 2024
1 parent b645624 commit a093489
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/common/functions/fnc_setHearingCapability.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

params ["_id", "_setting", ["_add", true], ["_fadeDuration", 0]];

_id = toLowerANSI _id;

// Save setting
if (_add) then {
GVAR(setHearingCapabilityMap) set [_id, _setting];
Expand Down

0 comments on commit a093489

Please sign in to comment.