Skip to content

Commit

Permalink
Additional way to detect if zibomod is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
xpxop authored May 27, 2023
1 parent bbd9b1d commit cdfe2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/improvedTCA.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ local maxalt = 50001


-- Zibo Mod & Level Up 73x
if(PLANE_ICAO == "B736") or (PLANE_ICAO == "B737") or (PLANE_ICAO == "B738" and string.find(AIRCRAFT_PATH, "737NG")) or (PLANE_ICAO == "B738" and string.find(AIRCRAFT_PATH, "800X")) or (PLANE_ICAO == "B739") then
if(PLANE_ICAO == "B736") or (PLANE_ICAO == "B737") or (PLANE_ICAO == "B738" and string.find(AIRCRAFT_PATH, "737NG")) or (PLANE_ICAO == "B738" and string.find(AIRCRAFT_PATH, "800X")) or (XPLMFindDataRef("zibomod/Aircraft_Path") ~= nil) or (PLANE_ICAO == "B739") then
knobRefs["spd"].turnRef = "laminar/B738/autopilot/mcp_speed_dial_kts_mach"
knobRefs["spd"].pressRef = "laminar/B738/autopilot/mcp_speed_dial_kts_mach"
knobRefs["hdg"].turnRef = "laminar/B738/autopilot/mcp_hdg_dial"
Expand Down

0 comments on commit cdfe2fe

Please sign in to comment.