mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 08:14:52 +09:00
Renamed Gui.event to Gui.custom_event
This commit is contained in:
1 parent
3aa77227ca
commit
efd9c7b609
3 files changed
+5
-5
No files matched your search
@@ -439,7 +439,7 @@ end)
|
||||
Gui.left_toolbar_button('item/'..config.default_icon,{'warp-list.main-tooltip',config.standard_proximity_radius},warp_list_container, function(player)
|
||||
return Roles.player_allowed(player,'gui/warp-list')
|
||||
end)
|
||||
:on_custom_event(Gui.events.on_visibility_changed_by_click, function(player,_,event)
|
||||
:on_custom_event(Gui.custom_events.on_visibility_changed_by_click, function(player,_,event)
|
||||
local state = event.state -- true if visible, false if invisible
|
||||
-- Set gui keep open state for player that clicked the button
|
||||
keep_gui_open[player.name] = state
|
||||
|
||||
Reference in new issue
Block a user