Skip to content

Commit

Permalink
fixed "Right Click" on Continent Map to open Advanture Journal corere…
Browse files Browse the repository at this point in the history
…ctly
  • Loading branch information
fuba82 committed Dec 18, 2024
1 parent a97767b commit 4ae0909
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions IPAInstancePortalPinTemplate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,11 @@ function IPAInstancePortalProviderPinMixin:OnMouseClickAction(button)
end

elseif button == "RightButton" then
print("journalInstanceID: " .. tostring(self.journalInstanceID))
IPA:DebugPrint("journalInstanceID: " .. tostring(self.journalInstanceID))
local journalInstanceID = self.journalInstanceID or self.poiInfo.journalInstanceID
--print("journalInstanceID: " .. tostring(self.journalInstanceID))
IPA:DebugPrint("journalInstanceID: " .. tostring(journalInstanceID))
EncounterJournal_LoadUI()
EncounterJournal_OpenJournal(nil, self.journalInstanceID)
EncounterJournal_OpenJournal(nil, journalInstanceID)
end
end

Expand Down

0 comments on commit 4ae0909

Please sign in to comment.