mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
CTLD small fix of container shape
This commit is contained in:
parent
30f2097d7a
commit
d74de11b8b
@ -1331,7 +1331,7 @@ CTLD.UnitTypeCapabilities = {
|
|||||||
|
|
||||||
--- CTLD class version.
|
--- CTLD class version.
|
||||||
-- @field #string version
|
-- @field #string version
|
||||||
CTLD.version="1.1.15"
|
CTLD.version="1.1.16"
|
||||||
|
|
||||||
--- Instantiate a new CTLD.
|
--- Instantiate a new CTLD.
|
||||||
-- @param #CTLD self
|
-- @param #CTLD self
|
||||||
@ -4272,6 +4272,7 @@ function CTLD:AddCratesCargo(Name,Templates,Type,NoCrates,PerCrateMass,Stock,Sub
|
|||||||
if UnitTypes then
|
if UnitTypes then
|
||||||
cargo:AddUnitTypeName(UnitTypes)
|
cargo:AddUnitTypeName(UnitTypes)
|
||||||
end
|
end
|
||||||
|
cargo:SetStaticTypeAndShape("Cargos",self.basetype)
|
||||||
if TypeName then
|
if TypeName then
|
||||||
cargo:SetStaticTypeAndShape(Category,TypeName,ShapeName)
|
cargo:SetStaticTypeAndShape(Category,TypeName,ShapeName)
|
||||||
end
|
end
|
||||||
@ -4355,6 +4356,7 @@ function CTLD:AddCratesRepair(Name,Template,Type,NoCrates, PerCrateMass,Stock,Su
|
|||||||
if UnitTypes then
|
if UnitTypes then
|
||||||
cargo:AddUnitTypeName(UnitTypes)
|
cargo:AddUnitTypeName(UnitTypes)
|
||||||
end
|
end
|
||||||
|
cargo:SetStaticTypeAndShape("cargos",self.basetype)
|
||||||
if TypeName then
|
if TypeName then
|
||||||
cargo:SetStaticTypeAndShape(Category,TypeName,ShapeName)
|
cargo:SetStaticTypeAndShape(Category,TypeName,ShapeName)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user