Skip to content

Commit

Permalink
Item Cooldown: Also fix onCooldown check in trigger
Browse files Browse the repository at this point in the history
And not just the condition check

Github-Issue: 540
  • Loading branch information
InfusOnWoW authored and Stanzilla committed Jul 28, 2018
1 parent 12a08b9 commit fcb2bf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WeakAuras/Prototypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2309,8 +2309,8 @@ WeakAuras.event_prototypes = {
},
{
hidden = true,
test = "(showOn == \"showOnReady\" and startTime == 0) " ..
"or (showOn == \"showOnCooldown\" and startTime > 0) " ..
test = "(showOn == \"showOnReady\" and startTime == 0 and enabled == 1) " ..
"or (showOn == \"showOnCooldown\" and (startTime > 0 or enabled == 0)) " ..
"or (showOn == \"showAlways\")"
}
},
Expand Down

0 comments on commit fcb2bf5

Please sign in to comment.