mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
Fixed bug with "spawn altitude" option for aircraft
This commit is contained in:
parent
7dfc8dd6bf
commit
25de01ee2c
@ -263,7 +263,7 @@ do
|
||||
-- options.livery = table.getRandom(aircraftDB.liveries[coalitionID])
|
||||
-- end
|
||||
|
||||
options.altitude = aircraftDB.altitude or DCSEx.converter.feetToMeters(15000)
|
||||
options.altitude = options.altitude or aircraftDB.altitude or DCSEx.converter.feetToMeters(15000)
|
||||
options.altitudeType = "BARO"
|
||||
options.speed = DCSEx.math.randomFloat(0.9, 1.1) * (aircraftDB.speed or 250)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user