Simplify binocular check

This commit is contained in:
PabstMirror 2016-04-20 10:48:25 -05:00
parent cf9479efab
commit c2126c3bd4

View File

@ -88,7 +88,7 @@ if (GVAR(ammoTemperatureEnabled) || GVAR(barrelLengthInfluenceEnabled)) then {
_bulletTraceVisible = false;
if (GVAR(bulletTraceEnabled) && cameraView == "GUNNER") then {
if ((currentWeapon ACE_player == binocular ACE_player) && {binocular ACE_player != ""}) then {
if (currentWeapon ACE_player == binocular ACE_player) then {
_bulletTraceVisible = true;
} else {
if (currentWeapon ACE_player == primaryWeapon ACE_player && count primaryWeaponItems ACE_player > 2) then {