Update EPOCH_upgradeBUILD.sqf

This commit is contained in:
He-Man 2016-10-24 23:01:40 +02:00 committed by GitHub
parent 897653f8ee
commit 19c171aed1

View File

@ -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 {