Skip to content

Commit

Permalink
quest: idle while locale checks are pending
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed Apr 5, 2023
1 parent 352c342 commit ef58554
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions quest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ end)

pfQuest:SetScript("OnUpdate", function()
if this.lock and this.lock > GetTime() then return end
if not pfDatabase.localized then return end

if ( this.tick or .05) > GetTime() then return else this.tick = GetTime() + .05 end

-- check questlog each second
Expand Down

0 comments on commit ef58554

Please sign in to comment.