mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
parent
f2fc2c9d6a
commit
33a663f72d
@ -35,17 +35,17 @@ if(_return isEqualTo[]) then {
|
||||
// check extra logic
|
||||
_value = switch _extraLogicType do {
|
||||
case "getDate": {
|
||||
date select _extraLogicName;
|
||||
date select _extraLogicName
|
||||
};
|
||||
case "getSunorMoon": {
|
||||
sunOrMoon;
|
||||
sunOrMoon
|
||||
};
|
||||
case "getMissionNamespaceVariable": {
|
||||
missionNamespace getVariable [_extraLogicName, _extraLogicData];
|
||||
missionNamespace getVariable [_extraLogicName, _extraLogicData]
|
||||
};
|
||||
// not really needed
|
||||
default {
|
||||
_extraLogicName;
|
||||
_extraLogicName
|
||||
};
|
||||
};
|
||||
_allow = [_value,_extraLogicCond,_extraLogicData] call EPOCH_fnc_arrayToLogic;
|
||||
|
Loading…
Reference in New Issue
Block a user