Skip to content

Commit

Permalink
fix lockout check
Browse files Browse the repository at this point in the history
  • Loading branch information
napnapnapnap committed Mar 3, 2021
1 parent f2d7958 commit c820707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RaidBrowser/stats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ end
function raid_browser.stats.raid_lock_info(instance_name, size)
RequestRaidInfo();
for i = 1, GetNumSavedInstances() do
local saved_name, _, reset, _, _, _, _, _, saved_size = GetSavedInstanceInfo(i);
local saved_name, _, reset, _, locked, _, _, _, saved_size = GetSavedInstanceInfo(i);

if saved_name == instance_name and saved_size == size then
if saved_name == instance_name and saved_size == size and locked then
return true, reset;
end
end
Expand Down

0 comments on commit c820707

Please sign in to comment.