interaction: fixed the modifier key

This commit is contained in:
Nicolás Badano 2015-01-15 17:15:39 -03:00
parent a4a4ca39f6
commit 9cf9733850
2 changed files with 4 additions and 5 deletions

View File

@ -2,6 +2,8 @@
#include "script_component.hpp" #include "script_component.hpp"
ACE_Modifier = 0;
if (!hasInterface) exitWith {}; if (!hasInterface) exitWith {};
GVAR(isOpeningDoor) = false; GVAR(isOpeningDoor) = false;

View File

@ -68,9 +68,9 @@ class ACE_Default_Keys {
class modifierKey { class modifierKey {
displayName = "$STR_ACE_Interaction_ModifierKey"; displayName = "$STR_ACE_Interaction_ModifierKey";
condition = ""; condition = "";
statement = QUOTE(GVAR(Modifier) = 1;); statement = QUOTE(ACE_Modifier = 1;);
conditionUp = ""; conditionUp = "";
statementUp = QUOTE(GVAR(Modifier) = 0;); statementUp = QUOTE(ACE_Modifier = 0;);
exceptions[] = {"ACE_Drag_isNotDragging"}; exceptions[] = {"ACE_Drag_isNotDragging"};
key = 29; key = 29;
shift = 0; shift = 0;
@ -94,9 +94,6 @@ class ACE_Options {
}; };
}; };
class ACE_Parameters {
ACE_Modifier = 0;
};
class ACE_Parameters_Boolean { class ACE_Parameters_Boolean {
ACE_Interaction_EnableTeamManagement = 1; ACE_Interaction_EnableTeamManagement = 1;
}; };