mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix compile error when trying to open a locked door by shortcut
This commit is contained in:
parent
6f64fcd0fb
commit
443cbf8be3
@ -32,7 +32,7 @@ if (_animations isEqualTo []) exitWith {};
|
||||
|
||||
if (_house animationPhase (_animations select 0) <= 0 && {_house getVariable [_lockedVariable select 0, 0] == 1}) exitWith {
|
||||
_lockedVariable set [0, _house];
|
||||
_lockedVariable spawn compile preprocessFileLineNumbers "\A3\Structures_F\scripts\LockedDoor_open.sqf"; // note: spawn because thats what the house does too.
|
||||
_lockedVariable call BIS_fnc_LockedDoorOpen;
|
||||
};
|
||||
|
||||
GVAR(isOpeningDoor) = true;
|
||||
|
Loading…
Reference in New Issue
Block a user