Skip to content

Commit

Permalink
Disable Radar in Duties, it doesn't apply there.
Browse files Browse the repository at this point in the history
  • Loading branch information
MidoriKami committed Aug 20, 2024
1 parent 55bcd23 commit 36317e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Mappy/MapRenderer/MapRenderer.GameObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
}

Expand Down

0 comments on commit 36317e0

Please sign in to comment.