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:
parent
89051d5439
commit
8d41e4699c
@ -1032,7 +1032,11 @@ do -- CARGO_REPRESENTABLE
|
||||
self:I( { Desc = Desc } )
|
||||
local Weight = math.random( 80, 120 )
|
||||
if Desc then
|
||||
Weight = Desc.massEmpty
|
||||
if Desc.typeName == "2B11 mortar" then
|
||||
Weight = 210
|
||||
else
|
||||
Weight = Desc.massEmpty
|
||||
end
|
||||
end
|
||||
|
||||
self:SetWeight( Weight )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user