Multiple ship types, set default cargobay limit, fixed doc bug

This commit is contained in:
acrojason
2020-12-31 17:04:21 -08:00
parent 1b80d68f50
commit ec039f2999
3 changed files with 27 additions and 16 deletions

View File

@@ -1401,7 +1401,7 @@ do -- Cargo
["Dry-cargo ship-1"] = 70000,
["Dry-cargo ship-2"] = 70000,
}
self.__.CargoBayWeightLimit = Weights[Desc.typeName]
self.__.CargoBayWeightLimit = ( Weights[Desc.typeName] or 50000 )
else
local Desc = self:GetDesc()