mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
XM157 - Fix zeroing for secondary muzzles (#9652)
* Update fnc_keyPress.sqf * Update fnc_keyPress.sqf * Update addons/xm157/functions/fnc_keyPress.sqf Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com> * Update addons/xm157/functions/fnc_keyPress.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> --------- Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
parent
852e08f8b5
commit
73807c261f
@ -22,6 +22,7 @@ if (!GVAR(shown)) exitWith { false }; // fast exit if not shown
|
||||
if (!([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith))) exitWith { false };
|
||||
if (!(ACE_player call CBA_fnc_canUseWeapon)) exitWith { false };
|
||||
|
||||
if (currentMuzzle ACE_player != currentWeapon ACE_player) exitWith { false };
|
||||
private _display = uinamespace getVariable [QGVAR(display), displayNull];
|
||||
if (isNull _display) exitWith { ERROR("keyPress-no display"); false };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user