mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
_newobj
This commit is contained in:
parent
56a539ee55
commit
3613449f38
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user