mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Don't override default zero on remote units
Because `currentZeroing` always returns the desired "main scope" zero for remote units, it won't ever return secondary scope zero.
This commit is contained in:
parent
50da8341cd
commit
fe6a01b626
@ -52,6 +52,7 @@ private _opticConfig = if (_optic != "") then {
|
||||
private _zeroRange = currentZeroing _unit;
|
||||
// Revert zeroing to default if overriding is enabled OR the selected sight's magnification is not higher than that of the naked eye, meaning that it is a secondary iron/holo sight
|
||||
if (
|
||||
(_local) &&
|
||||
(GVAR(canAdjustElevation) select _weaponIndex) &&
|
||||
{GVAR(overwriteZeroRange) || {getNumber (_opticConfig >> "ItemInfo" >> "OpticsModes" >> (_unit getOpticsMode _weaponIndex) >> "opticsZoomMax") > MIN_ZOOM_NAKEDEYE}}
|
||||
) then {
|
||||
|
Loading…
Reference in New Issue
Block a user