nightvision: Fix #42

This commit is contained in:
Nicolás Badano 2015-01-16 17:56:23 -03:00
parent 7c4af1dc17
commit 4a8e9a65b1

View File

@ -34,7 +34,7 @@ _fnc_isUsingHMD = {
if (isClass _turretConfigOpticsIn) then {
for "_index" from 0 to (count _turretConfig - 1) do {
if ("NVG" in getArray (_turretConfig select _index >> "visionMode")) exitWith {_result = false};
if ("NVG" in getArray (_turretConfigOpticsIn select _index >> "visionMode")) exitWith {_result = false};
};
} else {
//No OpticsIn usualy means RCWS, still need to test on more vehicles