From 36317e08af40f06ac1226e37f3d689135d1fd0b5 Mon Sep 17 00:00:00 2001 From: MidoriKami Date: Tue, 20 Aug 2024 11:42:38 -0700 Subject: [PATCH] Disable Radar in Duties, it doesn't apply there. --- Mappy/MapRenderer/MapRenderer.GameObject.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mappy/MapRenderer/MapRenderer.GameObject.cs b/Mappy/MapRenderer/MapRenderer.GameObject.cs index 12ea9db..2aea7d8 100644 --- a/Mappy/MapRenderer/MapRenderer.GameObject.cs +++ b/Mappy/MapRenderer/MapRenderer.GameObject.cs @@ -8,6 +8,7 @@ using FFXIVClientStructs.FFXIV.Client.Game.Object; using FFXIVClientStructs.FFXIV.Client.UI.Agent; using ImGuiNET; +using KamiLib.Extensions; using Lumina.Excel.GeneratedSheets2; using Mappy.Classes; using Mappy.Extensions; @@ -21,7 +22,7 @@ private unsafe void DrawGameObjects() { if (Service.ClientState is not { LocalPlayer: { } player }) return; - if (System.SystemConfig.ShowRadar) { + if (System.SystemConfig.ShowRadar && !Service.Condition.IsBoundByDuty()) { DrawRadar(player); }