Rerenamed events

This commit is contained in:
badgamernl
2020-02-26 00:49:57 +01:00
parent 8e9325fc0c
commit 2d90d1dcdd
3 changed files with 6 additions and 7 deletions

View File

@@ -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.custom_events.on_visibility_changed_by_click, function(player,_,event)
:on_custom_event(Gui.events.on_visibility_changed_by_click, function(player,_,event)
-- Set gui keep open state for player that clicked the button: true if visible, false if invisible
keep_gui_open[player.name] = event.state
end)