Skip to content

Commit

Permalink
Update addons/common/fnc_selectWeapon.sqf
Browse files Browse the repository at this point in the history
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
  • Loading branch information
johnb432 and PabstMirror committed Jul 28, 2024
1 parent 8a26916 commit 9c2f5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/common/fnc_selectWeapon.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if (_unit isEqualTo _vehicle) then {
_unit selectWeapon _weaponState // return
} else {
private _turretPath = _vehicle unitTurret _unit;
(weaponState [_vehicle, _turretPath, _weapon]) params ["", "_muzzle", "_currentMode"];
(weaponState [_vehicle, _turretPath, _weapon]) params ["_weapon", "_muzzle", "_currentMode"];

if (_mode == "") then {
_mode = _currentMode;
Expand Down

0 comments on commit 9c2f5d2

Please sign in to comment.