diff ui/AmrUiPanel.lua @ 81:0515882856f1 v38

updated for 7.0
author yellowfive
date Tue, 19 Jul 2016 10:05:32 -0700
parents 01b63b8ed811
children
line wrap: on
line diff
--- a/ui/AmrUiPanel.lua	Tue Apr 05 16:19:31 2016 -0700
+++ b/ui/AmrUiPanel.lua	Tue Jul 19 10:05:32 2016 -0700
@@ -34,7 +34,7 @@
 	end,
 
 	["SetBackgroundColor"] = function(self, color, a)
-		self.bg:SetTexture(color.R, color.G, color.B, a or 1)
+		self.bg:SetColorTexture(color.R, color.G, color.B, a or 1)
 	end,
 	
 	-- set a transparent bg to make this panel invisible