Update helper to use gui.get to reduce memory footprint

This commit is contained in:
Insality
2024-08-29 09:27:34 +03:00
parent cece44f2d1
commit 7e16dacbc2
2 changed files with 8 additions and 7 deletions

View File

@@ -307,7 +307,7 @@ end
--- Set text to text field
-- @tparam Text self @{Text}
-- @tparam string set_to Text for node
-- @tparam string|number|boolean set_to Text for node
-- @treturn Text Current text instance
function Text.set_to(self, set_to)
set_to = set_to or ""