Enabled useful debug print

Converted to use IceHUD:Debug() so that we can turn it on and off.
This commit is contained in:
Parnic
2016-06-07 00:35:20 -05:00
parent 5771f990c7
commit c0771ea8f4

View File

@ -301,7 +301,7 @@ function Runes.prototype:ShineFinished(rune)
end end
function Runes.prototype:UpdateRuneType(event, rune) function Runes.prototype:UpdateRuneType(event, rune)
-- DEFAULT_CHAT_FRAME:AddMessage("Runes.prototype:UpdateRuneType: rune="..rune.." GetRuneType(rune)="..GetRuneType(rune)); IceHUD:Debug("Runes.prototype:UpdateRuneType: rune="..rune.." GetRuneType(rune)="..GetRuneType(rune));
if not rune or tonumber(rune) ~= rune or rune < 1 or rune > self.numRunes then if not rune or tonumber(rune) ~= rune or rune < 1 or rune > self.numRunes then
return return