Skip to content

Commit 36317e0

Browse files
committed
Disable Radar in Duties, it doesn't apply there.
1 parent 55bcd23 commit 36317e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Mappy/MapRenderer/MapRenderer.GameObject.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using FFXIVClientStructs.FFXIV.Client.Game.Object;
99
using FFXIVClientStructs.FFXIV.Client.UI.Agent;
1010
using ImGuiNET;
11+
using KamiLib.Extensions;
1112
using Lumina.Excel.GeneratedSheets2;
1213
using Mappy.Classes;
1314
using Mappy.Extensions;
@@ -21,7 +22,7 @@ private unsafe void DrawGameObjects() {
2122

2223
if (Service.ClientState is not { LocalPlayer: { } player }) return;
2324

24-
if (System.SystemConfig.ShowRadar) {
25+
if (System.SystemConfig.ShowRadar && !Service.Condition.IsBoundByDuty()) {
2526
DrawRadar(player);
2627
}
2728

0 commit comments

Comments
 (0)