Wrath error fixes

This commit is contained in:
Tercio Jose
2022-11-27 18:35:35 -03:00
parent ebe8c496d1
commit eb60b77c32
6 changed files with 22 additions and 10 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ detailsFramework:Mixin(ImageMetaFunctions, detailsFramework.ScriptHookMixin)
if (texture) then
if (type(texture) == "table") then
if (texture.gradient) then
if (detailsFramework.IsDragonflight()) then
if (detailsFramework.IsDragonflight() or ImageObject.image.SetGradient) then
ImageObject.image:SetColorTexture(1, 1, 1, 1)
local fromColor = detailsFramework:FormatColor("tablemembers", texture.fromColor)
local toColor = detailsFramework:FormatColor("tablemembers", texture.toColor)