Changed priority to show bomb target height in ft if no Player Settings

This commit is contained in:
Applevangelist 2021-08-22 12:02:52 +02:00
parent e541e39403
commit 6cc3d73c04

View File

@ -2560,7 +2560,7 @@ function RANGE:_DisplayBombTargets(_unitname)
-- Get elevation
local elevation=coord:GetLandHeight()
local eltxt=string.format("%d m", elevation)
if _settings:IsImperial() then
if not _settings:IsMetric() then
elevation=UTILS.MetersToFeet(elevation)
eltxt=string.format("%d ft", elevation)
end