mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Changed tabs to 4 spaces
This commit is contained in:
@ -17,15 +17,15 @@ _value = _this select 2;
|
||||
_global = false;
|
||||
|
||||
if (count _this > 3) then {
|
||||
_global = _this select 3;
|
||||
_global = _this select 3;
|
||||
} else {
|
||||
_definedVariable = ([_variable] call FUNC(getDefinedVariableInfo));
|
||||
if (count _definedVariable > 2) then {
|
||||
_global = _definedVariable select 2;
|
||||
};
|
||||
_definedVariable = ([_variable] call FUNC(getDefinedVariableInfo));
|
||||
if (count _definedVariable > 2) then {
|
||||
_global = _definedVariable select 2;
|
||||
};
|
||||
};
|
||||
|
||||
if (!isNil "_value") exitwith {
|
||||
_unit setvariable [_variable, _value, _global];
|
||||
_unit setvariable [_variable, _value, _global];
|
||||
};
|
||||
_unit setvariable [_variable, nil, _global];
|
Reference in New Issue
Block a user