Skip to content

Commit

Permalink
revert a bad change to an earlier modernization
Browse files Browse the repository at this point in the history
An early modernization (v1 -> v2) was unintentionally changed, which unfortunately breaks the v5 -> v6 modernization.
So revert that.

Reported on Discord.
  • Loading branch information
emptyrivers authored and Stanzilla committed Aug 13, 2018
1 parent 4143296 commit 0641b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeakAuras/BuffTrigger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ function BuffTrigger.Modernize(data)
if (data.internalVersion < 2) then
if (trigger and trigger.type == "aura") then
if (trigger.showOn == nil or trigger.showOn == "showOnCooldown" or trigger.showOn == "showOnReady" or trigger.showOn == "showAlways") then
trigger.buffShowOn = trigger.inverse and "showOnMissing" or "showOnActive";
trigger.showOn = trigger.inverse and "showOnMissing" or "showOnActive";
trigger.inverse = nil;
end
end
Expand Down

0 comments on commit 0641b9c

Please sign in to comment.