mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Patched weight issues with mortars. 5000 kg is a bit too much for a mortar i think. Ed to fix this.
This commit is contained in:
@@ -1032,7 +1032,11 @@ do -- CARGO_REPRESENTABLE
|
|||||||
self:I( { Desc = Desc } )
|
self:I( { Desc = Desc } )
|
||||||
local Weight = math.random( 80, 120 )
|
local Weight = math.random( 80, 120 )
|
||||||
if Desc then
|
if Desc then
|
||||||
Weight = Desc.massEmpty
|
if Desc.typeName == "2B11 mortar" then
|
||||||
|
Weight = 210
|
||||||
|
else
|
||||||
|
Weight = Desc.massEmpty
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
self:SetWeight( Weight )
|
self:SetWeight( Weight )
|
||||||
|
|||||||
Reference in New Issue
Block a user