mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Changed priority to show bomb target height in ft if no Player Settings
This commit is contained in:
parent
e541e39403
commit
6cc3d73c04
@ -26,7 +26,7 @@
|
|||||||
-- ===
|
-- ===
|
||||||
--
|
--
|
||||||
-- ## Youtube Videos:
|
-- ## Youtube Videos:
|
||||||
--
|
--
|
||||||
-- * [MOOSE YouTube Channel](https://www.youtube.com/channel/UCjrA9j5LQoWsG4SpS8i79Qg)
|
-- * [MOOSE YouTube Channel](https://www.youtube.com/channel/UCjrA9j5LQoWsG4SpS8i79Qg)
|
||||||
-- * [MOOSE - On the Range - Demonstration Video](https://www.youtube.com/watch?v=kIXcxNB9_3M)
|
-- * [MOOSE - On the Range - Demonstration Video](https://www.youtube.com/watch?v=kIXcxNB9_3M)
|
||||||
--
|
--
|
||||||
@ -2560,7 +2560,7 @@ function RANGE:_DisplayBombTargets(_unitname)
|
|||||||
-- Get elevation
|
-- Get elevation
|
||||||
local elevation=coord:GetLandHeight()
|
local elevation=coord:GetLandHeight()
|
||||||
local eltxt=string.format("%d m", elevation)
|
local eltxt=string.format("%d m", elevation)
|
||||||
if _settings:IsImperial() then
|
if not _settings:IsMetric() then
|
||||||
elevation=UTILS.MetersToFeet(elevation)
|
elevation=UTILS.MetersToFeet(elevation)
|
||||||
eltxt=string.format("%d ft", elevation)
|
eltxt=string.format("%d ft", elevation)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user