Skip to content

Commit

Permalink
Allow to program A-10C_2 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
obfuscoder committed Oct 11, 2020
1 parent 78ab13e commit 889264e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mods/tech/mdc/export.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ LuaExportActivityNextEvent = function(current)
if data ~= nil then
if theRoutine == nil then
unit = data.Name
if unit == "A-10C" then
if unit == "A-10C" or unit == "A-10C_2" then
if GetDevice(0):get_argument_value(464) == 1 then -- CDU_UNUSED-DOT
loadMdc()
theRoutine = coroutine.create(programA10Flightplan)
Expand Down

0 comments on commit 889264e

Please sign in to comment.