1
0
mirror of https://github.com/Earu/EasyChat.git synced 2025-03-04 03:13:20 -05:00

dont need this

This commit is contained in:
Ryan 2024-08-24 18:20:46 +02:00
parent d47c778596
commit fef77d6e84

View File

@ -700,7 +700,7 @@ function text_part:LineBreak()
local component = self.HUD:CreateComponent("text", remaining_text)
component.Font = self.Font
component.ShadowFont = self.ShadowFont
remaining_text = call_component_function(component, "FitWidth", 0)
remaining_text = component:FitWidth()
until remaining_text == ""
end