Update core files

This commit is contained in:
Cooldude2606
2023-10-01 22:40:49 +01:00
parent d82514ccb6
commit 51480e4ca5
4 changed files with 62 additions and 27 deletions

View File

@@ -38,6 +38,7 @@ example_flow_with_button:add_to_left_flow(true)
]]
function Gui._prototype_element:add_to_left_flow(open_on_join)
if not self.name then error("Elements for the top flow must have a static name") end
Gui.left_elements[self.name] = open_on_join or false
return self
end