mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
scopes - Fix base angle (#5916)
This commit is contained in:
parent
2ecc835438
commit
a97dea896f
@ -82,7 +82,7 @@ private _newOptics = [_player] call FUNC(getOptics);
|
||||
private _newGuns = [primaryWeapon _player, secondaryWeapon _player, handgunWeapon _player];
|
||||
{
|
||||
if ((_newOptics select _x) != (GVAR(Optics) select _x) || (_newGuns select _x != GVAR(Guns) select _x)) then {
|
||||
GVAR(baseAngle) set [_x, [_player, _x] call FUNC(getBaseAngle)];
|
||||
GVAR(baseAngle) set [_x, [_player, _x, _newGuns select _x, _newOptics select _x] call FUNC(getBaseAngle)];
|
||||
GVAR(boreHeight) set [_x, [_player, _x] call FUNC(getBoreHeight)];
|
||||
|
||||
if ((_newOptics select _x) == "") then {
|
||||
|
Loading…
Reference in New Issue
Block a user