Skip to content

Commit

Permalink
uiCheck fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpleMQ2 committed Jan 15, 2024
1 parent 45af802 commit 7490b4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extras/version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return { commitId = '5709188 2024-01-14' }
return { commitId = '45af802 2024-01-14' }
6 changes: 4 additions & 2 deletions utils/rgmercs_utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,10 @@ function Utils.CheckPCNeedsBuff(spell, targetId, targetName, uiCheck)
return mq.TLO.Me.FindBuff("id " .. tostring(spell.ID()))() == nil
elseif mq.TLO.DanNet(targetName)() == nil then
-- Target.
Utils.SetTarget(targetId)
mq.delay("2s", function() return mq.TLO.Target.BuffsPopulated() end)
if uiCheck == false then
Utils.SetTarget(targetId)
mq.delay("2s", function() return mq.TLO.Target.BuffsPopulated() end)
end
return mq.TLO.Target.FindBuff("id " .. tostring(spell.ID()))() == nil
else
-- DanNet
Expand Down

0 comments on commit 7490b4f

Please sign in to comment.