Fix the FCS reset action

This commit is contained in:
Nicolás Badano 2015-03-07 14:56:20 -03:00
parent 31a50ee7aa
commit 8962ee5d51

View File

@ -28,7 +28,7 @@ class CfgVehicles {
displayName = $STR_ACE_FCS_ResetFCS; displayName = $STR_ACE_FCS_ResetFCS;
enableInside = 1; enableInside = 1;
condition = QUOTE(call FUNC(canResetFCS)); condition = QUOTE(call FUNC(canResetFCS));
statement = QUOTE([ARR_2(_vehicle,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset);); statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset););
showDisabled = 0; showDisabled = 0;
priority = 1; priority = 1;
icon = ""; icon = "";
@ -42,7 +42,7 @@ class CfgVehicles {
displayName = $STR_ACE_FCS_ResetFCS; displayName = $STR_ACE_FCS_ResetFCS;
enableInside = 1; enableInside = 1;
condition = QUOTE(call FUNC(canResetFCS)); condition = QUOTE(call FUNC(canResetFCS));
statement = QUOTE([ARR_2(_vehicle,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset);); statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset););
showDisabled = 0; showDisabled = 0;
priority = 1; priority = 1;
icon = ""; icon = "";