mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- suppressed reported error in the runes module that shouldn't be able to happen (and i can't reproduce)
This commit is contained in:
@ -274,6 +274,11 @@ function Runes.prototype:UpdateRuneType(event, rune)
|
|||||||
|
|
||||||
local thisRuneName = self.runeNames[GetRuneType(rune)]
|
local thisRuneName = self.runeNames[GetRuneType(rune)]
|
||||||
|
|
||||||
|
-- i have no idea how this could happen but it's been reported, so...
|
||||||
|
if not thisRuneName then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
self.frame.graphical[rune].rune:SetTexture(self:GetRuneTexture(thisRuneName))
|
self.frame.graphical[rune].rune:SetTexture(self:GetRuneTexture(thisRuneName))
|
||||||
self.frame.graphical[rune].rune:SetVertexColor(self:GetColor("Runes"..thisRuneName))
|
self.frame.graphical[rune].rune:SetVertexColor(self:GetColor("Runes"..thisRuneName))
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user