From 702ebbd86a0b4c5bf03cf84358b5962efef86fb4 Mon Sep 17 00:00:00 2001 From: Parnic Date: Tue, 7 Jun 2016 00:34:31 -0500 Subject: [PATCH] Fixed Death Runes never showing up on Live UnitPowerMax for SPELL_POWER_RUNES is 0 on live, so numRunes was 0 which was causing UpdateRuneType to throw out the update. --- modules/Runes.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/Runes.lua b/modules/Runes.lua index b53c122..cf55c47 100644 --- a/modules/Runes.lua +++ b/modules/Runes.lua @@ -208,7 +208,9 @@ end -- OVERRIDE function Runes.prototype:Enable(core) - self.numRunes = UnitPowerMax("player", SPELL_POWER_RUNES) + if IceHUD.WowVer >= 70000 then + self.numRunes = UnitPowerMax("player", SPELL_POWER_RUNES) + end Runes.super.prototype.Enable(self, core)