Skip to content

Commit

Permalink
Update M-2000C.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
jdahlblom committed Oct 7, 2023
1 parent d476c81 commit c3fd4ae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Scripts/DCS-BIOS/lib/modules/aircraft_modules/M-2000C.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,8 @@ end)

local function getvtbRange()
local vtb = M_2000C.parse_indication(1)
if vtb["vtb-rdr-range"] == nil then
return ""
end

return vtb["vtb-rdr-range"]
return vtb["vtb-rdr-range"] and vtb["vtb-rdr-range"] or ""
end

--ADI
Expand Down

0 comments on commit c3fd4ae

Please sign in to comment.