Quantcast

All bugs squashed

Steven Jackson [03-12-15 - 00:49]
All bugs squashed
Filename
SVUI_UnitFrames/SVUI_UnitFrames.lua
diff --git a/SVUI_UnitFrames/SVUI_UnitFrames.lua b/SVUI_UnitFrames/SVUI_UnitFrames.lua
index 3fdb744..263a724 100644
--- a/SVUI_UnitFrames/SVUI_UnitFrames.lua
+++ b/SVUI_UnitFrames/SVUI_UnitFrames.lua
@@ -659,7 +659,7 @@ function MOD:RefreshUnitLayout(frame, template)
 				PORTRAIT_GRIP:ModPoint(TOP_ANCHOR2, frame, TOP_ANCHOR2, (1 * TOP_MODIFIER), -1)
 				PORTRAIT_GRIP:ModPoint(BOTTOM_ANCHOR2, MASTER_GRIP, BOTTOM_ANCHOR1, (1 * BOTTOM_MODIFIER), 1)
 			end
-			PORTRAIT:ForceUpdate()
+			if(PORTRAIT.ForceUpdate) then PORTRAIT:ForceUpdate() end
 			PORTRAIT_GRIP:Show()
 		else
 			PORTRAIT_GRIP:Hide()