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"
ACE_Modifier = 0;
if (!hasInterface) exitWith {};
GVAR(isOpeningDoor) = false;

View File

@ -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;
};