mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Fix incorrect element name in rocket info
This commit is contained in:
@@ -115,7 +115,7 @@ local section = Gui.element("autofill_section")
|
|||||||
return def:unlink_element(section_table)
|
return def:unlink_element(section_table)
|
||||||
end)
|
end)
|
||||||
:on_click(function(def, player, element, event)
|
: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)
|
toggle_section:raise_event(event)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
@@ -443,7 +443,7 @@ local section = Gui.element("rocket_info_section")
|
|||||||
return definition:unlink_element(scroll_table)
|
return definition:unlink_element(scroll_table)
|
||||||
end)
|
end)
|
||||||
:on_click(function(def, player, element, event)
|
: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)
|
toggle_section:raise_event(event)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user