From 1a2231c14a5cffe0373a9a27fddbd763c2753812 Mon Sep 17 00:00:00 2001 From: Nou Date: Sun, 18 Jan 2015 20:13:45 -0800 Subject: [PATCH] Privatize --- addons/interact_menu/functions/fnc_removeAction.sqf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/interact_menu/functions/fnc_removeAction.sqf b/addons/interact_menu/functions/fnc_removeAction.sqf index 2362cb424f..3b32f4d012 100644 --- a/addons/interact_menu/functions/fnc_removeAction.sqf +++ b/addons/interact_menu/functions/fnc_removeAction.sqf @@ -12,6 +12,8 @@ */ #include "script_component.hpp" +private ["_object", "_entry", "_found", "_actions", "_searchFnc"]; + _object = _this select 0; _entry = _this select 1; @@ -28,7 +30,7 @@ if(IS_ARRAY(_entry)) then { _found = false; _searchFnc = { - private ["_actions", "_entry"]; + private ["_actions", "_entry", "_childActions"]; _actions = _this select 0; _entry = _this select 1; {