From bb63882d20250fe4acf33b5b7cc5c66f8bbbc38d Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Fri, 15 May 2015 22:52:54 -0500 Subject: [PATCH] #1238 - open door error --- addons/interaction/functions/fnc_openDoor.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/interaction/functions/fnc_openDoor.sqf b/addons/interaction/functions/fnc_openDoor.sqf index cb416cedf0..f9053e59f2 100644 --- a/addons/interaction/functions/fnc_openDoor.sqf +++ b/addons/interaction/functions/fnc_openDoor.sqf @@ -16,7 +16,7 @@ */ #include "script_component.hpp" -private ["_info", "_animations", "_phase", "_position", "_time", "_usedMouseWheel"]; +private ["_info", "_phase", "_position", "_time", "_usedMouseWheel", "_getDoorAnimations"]; _info = [2] call FUNC(getDoor); @@ -24,9 +24,9 @@ EXPLODE_2_PVT(_info,_house,_door); if (isNull _house) exitWith {}; -_animations = [_house, _door] call FUNC(getDoorAnimations); +_getDoorAnimations = [_house, _door] call FUNC(getDoorAnimations); -EXPLODE_2_PVT(_animations,_animations,_lockedVariable); +EXPLODE_2_PVT(_getDoorAnimations,_animations,_lockedVariable); if (count _animations == 0) exitWith {};