Skip to content

Commit

Permalink
Add sound back, to indicate new attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 committed Aug 9, 2024
1 parent bf10a64 commit cf3b55c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/interaction/functions/fnc_switchWeaponAttachment.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,6 @@ if (!_addNew) exitWith {};
if (_unit != ACE_player) exitWith {};

[[getText (configFile >> "CfgWeapons" >> _newAttachment >> "picture"), 4], true] call CBA_fnc_notify;

playSound "click";
}, [_unit, _weapon, _newAttachment], 1] call CBA_fnc_waitAndExecute;

0 comments on commit cf3b55c

Please sign in to comment.