Skip to content

Commit

Permalink
error in popups again
Browse files Browse the repository at this point in the history
  • Loading branch information
N0ich committed Feb 22, 2024
1 parent 68ab391 commit fd3b08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ local function getPopupButton(popupFrame)
-- the ordering here means that a revive will be taken before a battle rez before a release.
-- if revives are disabled but soulstone battlerezzes *aren't*, nothing will happen if both are available!
-- (originall DialogKey worked this way too, comment if you think this should be changed!)
local canRelease = text == DEATH_RELEASE
local canRelease = popupFrame.button1:GetText() == DEATH_RELEASE
if DialogKey.db.global.useSoulstoneRez and canRelease and popupFrame.button2:IsVisible() then
return popupFrame.button2
end
Expand Down

0 comments on commit fd3b08c

Please sign in to comment.