mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
missed one
This commit is contained in:
parent
6a58af5b33
commit
8892aeed9d
@ -20,8 +20,11 @@
|
|||||||
params ["", "", "_parameters"];
|
params ["", "", "_parameters"];
|
||||||
_parameters params ["_unit"];
|
_parameters params ["_unit"];
|
||||||
|
|
||||||
private _varName = format [QEGVAR(interact_menu,Act_%1), typeOf _unit];
|
private _namespace = EGVAR(interact_menu,ActNamespace);
|
||||||
private _actionTrees = missionNamespace getVariable [_varName, []];
|
private _actionTrees = _namespace getVariable typeOf _unit;
|
||||||
|
if (isNil "_actionTrees") then {
|
||||||
|
_actionTrees = [];
|
||||||
|
};
|
||||||
|
|
||||||
private _actions = [];
|
private _actions = [];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user