From 07a3d391190af8802d6db22915bd0495f8ace470 Mon Sep 17 00:00:00 2001 From: Falco Date: Tue, 8 Oct 2024 17:32:09 +0200 Subject: [PATCH] Fixes display label id change, fixes #20 --- CoordinateConverter/DCS/Aircraft/AH64/AH64TSDOptionData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoordinateConverter/DCS/Aircraft/AH64/AH64TSDOptionData.cs b/CoordinateConverter/DCS/Aircraft/AH64/AH64TSDOptionData.cs index d0fd2d1..20a8ad8 100644 --- a/CoordinateConverter/DCS/Aircraft/AH64/AH64TSDOptionData.cs +++ b/CoordinateConverter/DCS/Aircraft/AH64/AH64TSDOptionData.cs @@ -985,7 +985,7 @@ static public AH64TSDOptionData ReadFromAC(bool isPilot) switch (kvp.Key) { case EScreens.TSD_MAP: - result.Phase = displayData["PB17_31"] == "NAV" ? EPhase.Navigation : EPhase.Attack; + result.Phase = displayData["PB17_39"] == "NAV" ? EPhase.Navigation : EPhase.Attack; result.MapType = displayData["PB23_15"] == "DIG" ? EMapType.Digital : displayData["PB23_15"] == "CHART" ? EMapType.Chart : displayData["PB23_15"] == "SAT" ? EMapType.Satellite