Merge pull request #1415 from acrojason/naval-cargo

Multiple ship types, set default cargobay limit, fixed doc bug
This commit is contained in:
Frank
2021-01-01 02:21:41 +01:00
committed by GitHub
3 changed files with 27 additions and 16 deletions

View File

@@ -1463,7 +1463,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()