mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Interact menu - Fix condition in consolidated menu (#9946)
Fix condition in consolidated menu
This commit is contained in:
parent
1eca83db9f
commit
a12ad9ec59
@ -109,14 +109,14 @@ if ((_activeChildren isEqualTo []) && {_statementCode isEqualTo {}}) exitWith {
|
|||||||
|
|
||||||
if (GVAR(consolidateSingleChild) && {count _activeChildren == 1} && {_statementCode isEqualTo {}}) then {
|
if (GVAR(consolidateSingleChild) && {count _activeChildren == 1} && {_statementCode isEqualTo {}}) then {
|
||||||
_activeChildren select 0 params ["_childActionData", "_childChildren", "_childObject"];
|
_activeChildren select 0 params ["_childActionData", "_childChildren", "_childObject"];
|
||||||
_childActionData params ["", "_displayNameChild", "_iconChild", "_statementChild", "", "", "_customParamsChild", "", "", "_paramsChild"];
|
_childActionData params ["", "_displayNameChild", "_iconChild", "_statementChild", "_conditionChild", "_insertChildrenChild", "_customParamsChild", "", "", "_paramsChild"];
|
||||||
_origActionData = [
|
_origActionData = [
|
||||||
_actionName,
|
_actionName,
|
||||||
format ["%1 > %2", _displayName, _displayNameChild],
|
format ["%1 > %2", _displayName, _displayNameChild],
|
||||||
_iconChild,
|
_iconChild,
|
||||||
_statementChild,
|
_statementChild,
|
||||||
_conditionCode,
|
_conditionChild,
|
||||||
_insertChildrenCode,
|
_insertChildrenChild,
|
||||||
_customParamsChild,
|
_customParamsChild,
|
||||||
_position,
|
_position,
|
||||||
_distance,
|
_distance,
|
||||||
|
Loading…
Reference in New Issue
Block a user