mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix thrown blink.
This commit is contained in:
parent
48ab81ad87
commit
a10b6ee8e2
@ -21,6 +21,9 @@ TRACE_10("firedEH:",_unit, _weapon, _muzzle, _mode, _ammo, _magazine, _projectil
|
|||||||
private "_player";
|
private "_player";
|
||||||
_player = ACE_player;
|
_player = ACE_player;
|
||||||
|
|
||||||
|
//exit if it's a thrown weapon
|
||||||
|
if (_weapon == "Throw") exitWith {};
|
||||||
|
|
||||||
//If our vehicle didn't shoot, or we're not in NVG mode, exit
|
//If our vehicle didn't shoot, or we're not in NVG mode, exit
|
||||||
if ((currentVisionMode _player) != 1) exitWith {};
|
if ((currentVisionMode _player) != 1) exitWith {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user