Fixed object actions not working

This commit is contained in:
esteldunedain 2015-05-14 16:56:32 -03:00
parent 0b8992a503
commit f17c7c12a6

View File

@ -67,12 +67,12 @@ if !({} isEqualTo (_origActionData select 5)) then {
if (count _pPath == count _fullPath &&
{_pPath isEqualTo _fullPath}) then {
_action = [_object, _action, _fullPath] call FUNC(collectActiveActionTree);
_action = [_object, [_actionData,[]], _fullPath] call FUNC(collectActiveActionTree);
if ((count _action) > 0) then {
_activeChildren pushBack _action;
};
};
} forEach GVAR(objectActions);
} forEach GVAR(objectActionList);
// If the original action has no statement, and no children, don't display it