SetAlpha above 1.0 is causing error

This commit is contained in:
Tercio Jose
2022-09-08 16:28:44 -03:00
parent dfe69e81ba
commit aaa5a149c2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -7284,9 +7284,9 @@ function Details:ChangeSkin(skin_name)
----------> lock alpha head
if (not this_skin.can_change_alpha_head) then
self.baseframe.cabecalho.ball:SetAlpha (100)
self.baseframe.cabecalho.ball:SetAlpha(1)
else
self.baseframe.cabecalho.ball:SetAlpha (self.color[4])
self.baseframe.cabecalho.ball:SetAlpha(self.color[4])
end
----------> update abbreviation function on the class files