1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00

- open door error

This commit is contained in:
PabstMirror 2015-05-15 22:52:54 -05:00
parent a872b8b9e5
commit bb63882d20

@ -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 {};