v1.0.0.9: Duty List quest click - don't Hide() when viewing quest map (SelectedMapId != CurrentMapId)

Made-with: Cursor
This commit is contained in:
2026-02-27 23:07:02 -05:00
parent d8457e8d87
commit f1864f4cac
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -275,7 +275,11 @@ public unsafe class IntegrationsController : IDisposable
return;
}
if (AgentMap.Instance()->AddonId is not 0 &&
// When user opened via Duty List (quest/gathering/flag/teleport), SelectedMapId != CurrentMapId is expected
// (viewing quest map, not current zone). Don't Hide() - let the map show.
var userRequestedMap = System.MapWindow.ProcessingCommand;
if (!userRequestedMap &&
AgentMap.Instance()->AddonId is not 0 &&
AgentMap.Instance()->CurrentMapId != AgentMap.Instance()->SelectedMapId)
{
if (!System.SystemConfig.KeepOpen)