Change to SetReverseFill

Deprecation of right_to_left_texture in favor of StatusBar:SetReverseFill

Deprecate right_to_left_texture in class_damage
This commit is contained in:
Flamanis
2022-05-02 17:27:13 -05:00
parent d669158221
commit 6851fd4728
2 changed files with 27 additions and 13 deletions
+3 -1
View File
@@ -2965,11 +2965,13 @@ end
a = a or 1
if (instance.row_info.texture_class_colors) then
--[[ Deprecation of right_to_left_texture in favor of StatusBar:SetReverseFill 5/2/2022 - Flamanis
if (instance.bars_inverted) then
bar.right_to_left_texture:SetVertexColor(r, g, b, a)
else
bar.textura:SetVertexColor(r, g, b, a)
end
end]]
bar.textura:SetVertexColor(r, g, b, a)
end
if (instance.row_info.texture_background_class_color) then