Skip to content

Commit

Permalink
spaces -> tabs, i keep forgetting this uses tabs...
Browse files Browse the repository at this point in the history
  • Loading branch information
gallantron committed Jun 7, 2022
1 parent 9ddcbc7 commit fb9d809
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions PallyPower.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1301,14 +1301,14 @@ function PallyPower:ScanCooldowns()
for cd, spells in pairs(self.Cooldowns) do
for _, spell in pairs(spells) do
if CooldownInfo[cd] then
local start, duration = GetSpellCooldown(spell)
if start then
CooldownInfo[cd].start = start
CooldownInfo[cd].duration = duration
CooldownInfo[cd].remaining = math.max(start + duration - GetTime(), 0)
break
end
end
local start, duration = GetSpellCooldown(spell)
if start then
CooldownInfo[cd].start = start
CooldownInfo[cd].duration = duration
CooldownInfo[cd].remaining = math.max(start + duration - GetTime(), 0)
break
end
end
end
end
end
Expand Down

0 comments on commit fb9d809

Please sign in to comment.