diff --git a/addons/interaction/XEH_clientInit.sqf b/addons/interaction/XEH_clientInit.sqf index 7b64310037..2e762156eb 100644 --- a/addons/interaction/XEH_clientInit.sqf +++ b/addons/interaction/XEH_clientInit.sqf @@ -2,6 +2,8 @@ #include "script_component.hpp" +ACE_Modifier = 0; + if (!hasInterface) exitWith {}; GVAR(isOpeningDoor) = false; diff --git a/addons/interaction/config.cpp b/addons/interaction/config.cpp index 0aa4c390f2..7cea7a63d9 100644 --- a/addons/interaction/config.cpp +++ b/addons/interaction/config.cpp @@ -68,9 +68,9 @@ class ACE_Default_Keys { class modifierKey { displayName = "$STR_ACE_Interaction_ModifierKey"; condition = ""; - statement = QUOTE(GVAR(Modifier) = 1;); + statement = QUOTE(ACE_Modifier = 1;); conditionUp = ""; - statementUp = QUOTE(GVAR(Modifier) = 0;); + statementUp = QUOTE(ACE_Modifier = 0;); exceptions[] = {"ACE_Drag_isNotDragging"}; key = 29; shift = 0; @@ -94,9 +94,6 @@ class ACE_Options { }; }; -class ACE_Parameters { - ACE_Modifier = 0; -}; class ACE_Parameters_Boolean { ACE_Interaction_EnableTeamManagement = 1; };