This commit is contained in:
He-Man 2019-01-01 05:46:09 +01:00
parent 56a539ee55
commit 3613449f38

View File

@ -34,8 +34,8 @@ if (!isNull _object && !(_class isEqualTo "")) then {
_ExceptedBaseObjects = [_serverSettingsConfig, "ExceptedBaseObjects", []] call EPOCH_fnc_returnConfigEntry;
_DisableDoorsOnObj = [_serverSettingsConfig, "DisableDoorsOnObj", []] call EPOCH_fnc_returnConfigEntry;
if (_class in _DisableDoorsOnObj) then {
_baseObj setvariable ["bis_disabled_door",1,true];
_baseObj setvariable ["bis_disabled_hatch",1,true];
_newObj setvariable ["bis_disabled_door",1,true];
_newObj setvariable ["bis_disabled_hatch",1,true];
};
if (_UseIndestructible) then {
if ({_class iskindof _x} count _ExceptedBaseObjects == 0) then {