diff --git a/Sources/epoch_code/compile/building/EPOCH_upgradeBUILD.sqf b/Sources/epoch_code/compile/building/EPOCH_upgradeBUILD.sqf index 0dd45fde..b6cca135 100644 --- a/Sources/epoch_code/compile/building/EPOCH_upgradeBUILD.sqf +++ b/Sources/epoch_code/compile/building/EPOCH_upgradeBUILD.sqf @@ -87,6 +87,8 @@ if (_object isKindOf "Constructions_static_F") then { _buildingJammerRange = getNumber(_config2 >> "buildingJammerRange"); _maxdoors = getNumber(_config2 >> "maxdoors"); _maxgates = getNumber(_config2 >> "maxgates"); + if (_maxdoors == 0) then {_maxdoors = 12}; + if (_maxgates == 0) then {_maxgates = 10}; _upgrades = getArray(_config >> (typeOf _object) >> "upgradeBuilding"); if !(_upgrades isEqualTo []) then {