mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Interaction - Disable open door action on houses with no user actions (#6760)
Fix #6544
This commit is contained in:
parent
0bb339bf51
commit
6d8cdd9b1d
@ -23,6 +23,10 @@ TRACE_2("openDoor",_house,_door);
|
||||
|
||||
if (isNull _house) exitWith {};
|
||||
|
||||
if ((configProperties [configFile >> "CfgVehicles" >> (typeOf _house) >> "UserActions"]) isEqualTo []) exitWith {
|
||||
TRACE_1("Ignore houses with no UserActions",typeOf _house); // Fix problem with Shoothouse Walls
|
||||
};
|
||||
|
||||
private _getDoorAnimations = [_house, _door] call FUNC(getDoorAnimations);
|
||||
|
||||
_getDoorAnimations params ["_animations"];
|
||||
|
Loading…
Reference in New Issue
Block a user