Skip to content

Commit

Permalink
feat: ignore ambassadors & diplomacy
Browse files Browse the repository at this point in the history
  • Loading branch information
fang2hou committed Aug 26, 2024
1 parent 751e682 commit c07bead
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Modules/Misc/AutoScreenShot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ local hooksecurefunc = hooksecurefunc

local alertFrame

function M:DelayScreenshot(_, _, _, tried)
function M:DelayScreenshot(id, _, _, tried)
-- Ambassadors, Diplomacy
if id == 7844 or id == 7843 then
return
end

if not tried then
tried = 0
end
Expand Down

0 comments on commit c07bead

Please sign in to comment.