mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Disable locking on unloaded. Closes #539
This commit is contained in:
parent
6f3ce27894
commit
f0940707be
@ -51,6 +51,10 @@ if ((velocity ACE_player) distance [0,0,0] > 0.5 && {cameraView == "GUNNER"} &&
|
||||
// Refresh the firemode
|
||||
[] call FUNC(showFireMode);
|
||||
|
||||
|
||||
// bail on not loaded
|
||||
if (ACE_player ammo (currentWeapon ACE_player) == 0) exitWith { };
|
||||
|
||||
_range = parseNumber (ctrlText __JavelinIGUIRangefinder);
|
||||
TRACE_1("Viewing range", _range);
|
||||
if (_range > 50 && {_range < 2500}) then {
|
||||
|
Loading…
Reference in New Issue
Block a user