From 0d7630d3dff4d5f9f848d43ef64a89f50592b195 Mon Sep 17 00:00:00 2001 From: Markus Ast Date: Wed, 3 Nov 2021 13:41:42 +0100 Subject: [PATCH] change coordinate format for A-10C_2 to DDM --- Scripts/Hooks/scratchpad-hook.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Scripts/Hooks/scratchpad-hook.lua b/Scripts/Hooks/scratchpad-hook.lua index a0167f6..400ec39 100644 --- a/Scripts/Hooks/scratchpad-hook.lua +++ b/Scripts/Hooks/scratchpad-hook.lua @@ -259,8 +259,10 @@ local function loadScratchpad() local function coordsType() local ac = DCS.getPlayerUnitType() - if ac == "FA-18C_hornet" or ac == "A-10C_2" then + if ac == "FA-18C_hornet" then return "DMS", true + elseif ac == "A-10C_2" then + return "DDM", true elseif ac == "F-16C_50" or ac == "M-2000C" then return "DDM", false else