Merge branch 'explosivegaming:main' into aperx

This commit is contained in:
2025-03-07 23:45:09 +09:00
committed by GitHub
6 changed files with 6 additions and 7 deletions

View File

@@ -115,7 +115,7 @@ local section = Gui.element("autofill_section")
return def:unlink_element(section_table)
end)
:on_click(function(def, player, element, event)
event.element = element.parent.alignment[toggle_section.name]
event.element = element.parent.flow[toggle_section.name]
toggle_section:raise_event(event)
end)

View File

@@ -443,7 +443,7 @@ local section = Gui.element("rocket_info_section")
return definition:unlink_element(scroll_table)
end)
:on_click(function(def, player, element, event)
event.element = element.parent.alignment[toggle_section.name]
event.element = element.parent.flow[toggle_section.name]
toggle_section:raise_event(event)
end)

View File

@@ -37,7 +37,7 @@ UsesServerUps:on_load(function(player_name, visible)
--- @diagnostic disable-next-line undefined-field
if not External.valid() or not storage.ext.var.server_ups then visible = false end
label.visible = visible
label.visible = visible or false
end)
--- Toggles if the server ups is visbile