Changed EGVAR to not have spaces in macro call.

This commit is contained in:
Garth L-H de Wet 2015-01-13 12:12:59 +02:00
parent fe056f10e1
commit 43bac209d9
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ class CfgVehicles {
class ACE_Defuse { class ACE_Defuse {
displayName = $STR_ACE_Explosives_Defuse; displayName = $STR_ACE_Explosives_Defuse;
condition = QUOTE( [_player] call FUNC(canDefuse) ); condition = QUOTE( [_player] call FUNC(canDefuse) );
statement = QUOTE( [ARR_2(_player, EGVAR(Interaction, Target))] call FUNC(startDefuse); ); statement = QUOTE( [ARR_2(_player, EGVAR(Interaction,Target))] call FUNC(startDefuse); );
exceptions[] = {"ACE_Interaction_isNotSwimming"}; exceptions[] = {"ACE_Interaction_isNotSwimming"};
showDisabled = 0; showDisabled = 0;
icon = QUOTE( PATHTOF(UI\Defuse_ca.paa) ); icon = QUOTE( PATHTOF(UI\Defuse_ca.paa) );

View File

@ -53,7 +53,7 @@ _actions = [localize "STR_ACE_Explosives_PlaceMenu", localize "STR_ACE_Explosive
}, },
{ {
call EFUNC(Interaction,hideMenu); call EFUNC(Interaction,hideMenu);
if !(profileNamespace getVariable [QUOTE( EGVAR(Interaction, AutoCloseMenu) ), false]) then { if !(profileNamespace getVariable [QUOTE( EGVAR(Interaction,AutoCloseMenu) ), false]) then {
"ACE_Explosives" call EFUNC(Interaction,openMenuSelf); "ACE_Explosives" call EFUNC(Interaction,openMenuSelf);
}; };
} }

View File

@ -45,7 +45,7 @@ if (count _detonators == 0) then {
}, },
{ {
call EFUNC(Interaction,hideMenu); call EFUNC(Interaction,hideMenu);
if !(profileNamespace getVariable [QUOTE( EGVAR(Interaction, AutoCloseMenu) ), false]) then { if !(profileNamespace getVariable [QUOTE( EGVAR(Interaction,AutoCloseMenu) ), false]) then {
"ACE_Explosives" call EFUNC(Interaction,openMenuSelf); "ACE_Explosives" call EFUNC(Interaction,openMenuSelf);
}; };
} }