mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 20:16:38 +09:00
Fixed EapGamingCore.Gui
This commit is contained in:
@@ -205,9 +205,9 @@ function center._center:add_tab(name,caption,tooltip,callback)
|
||||
end
|
||||
|
||||
-- used so that when gui close key is pressed this will close the gui
|
||||
script.on_event('on_gui_closed',function(event)
|
||||
center._events = {[defines.events.on_gui_closed]=function(event)
|
||||
if event.element and event.element.valid then event.element.destroy() end
|
||||
end)
|
||||
end}
|
||||
|
||||
center.on_rank_change = center.clear
|
||||
return center
|
||||
Reference in New Issue
Block a user