Fix missing zeroing UI on vehicles without FCS

This commit is contained in:
jonpas 2016-08-11 22:34:38 +02:00
parent a2da54bfec
commit 5985f3bd26
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
class ACE_UI {
class gunnerZeroing {
class conditions {
ADDON = "(false)";
ADDON = QUOTE(getNumber ([ARR_2(vehicle ACE_player, ACE_player call CBA_fnc_turretPath)] call CBA_fnc_getTurret >> 'ace_fcs_enabled') != 1);
};
};
};

View File

@ -143,7 +143,8 @@ class CfgVehicles {
GVAR(Enabled) = 1;
GVAR(MaxDistance) = 2000;
discreteDistance[] = {};
discreteDistanceInitIndex = 0;};
discreteDistanceInitIndex = 0;
};
class CommanderTurret: CommanderTurret {
GVAR(Enabled) = 0;
};