mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
nightvision: fix
This commit is contained in:
parent
4a8e9a65b1
commit
4445ec6195
@ -33,7 +33,7 @@ _fnc_isUsingHMD = {
|
||||
_turretConfigOpticsIn = _turretConfig >> "OpticsIn";
|
||||
|
||||
if (isClass _turretConfigOpticsIn) then {
|
||||
for "_index" from 0 to (count _turretConfig - 1) do {
|
||||
for "_index" from 0 to (count _turretConfigOpticsIn - 1) do {
|
||||
if ("NVG" in getArray (_turretConfigOpticsIn select _index >> "visionMode")) exitWith {_result = false};
|
||||
};
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user