Fix undefined variable in reload checkAmmo function (#7223)

This commit is contained in:
mharis001 2019-10-04 20:13:14 -04:00 committed by PabstMirror
parent 81badb5853
commit 4cbc83687c

View File

@ -22,7 +22,7 @@ if (_player == _target) then {
if ((vehicle _target) isKindOf "StaticWeapon") then {
_target = vehicle _target;
};
[_unit, "Gear", 1] call EFUNC(common,doGesture);
[_player, "Gear", 1] call EFUNC(common,doGesture);
};
[FUNC(displayAmmo), [_target], 1] call CBA_fnc_waitAndExecute;