Possible bug fix
Scott Sibley [10-22-10 - 00:04]
diff --git a/Modules/Portrait/Portrait.lua b/Modules/Portrait/Portrait.lua
index 96711bb..eb2ee58 100644
--- a/Modules/Portrait/Portrait.lua
+++ b/Modules/Portrait/Portrait.lua
@@ -98,9 +98,9 @@ function mod:GetOptions()
end
function mod:SetUnit()
- if not self.text then return end
+ if not self.text or not self.texture then return end
- SetPortraitTexture(self.texture, StarTip.unit)
+ SetPortraitTexture(self.texture, StarTip.unit or "mouseover")
if not self.texture:GetTexture() then
self.model:Hide()