InteractMenu - Fix Actions Added to Objects

This commit is contained in:
PabstMirror 2015-03-29 12:04:57 -05:00
parent 209bdc8dfd
commit 24b47584a2

View File

@ -38,7 +38,7 @@ _fnc_renderNearbyActions = {
// Only render them directly if they are base level actions
if (count (_x select 1) == 0) then {
// Try to render the menu
_action = [_x,[]];
_action = _x;
if ([_target, _action] call FUNC(renderBaseMenu)) then {
_numInteractions = _numInteractions + 1;
};