Skip to content

Commit

Permalink
creature codex part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Nov 29, 2023
1 parent 181539d commit 5e0e179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _G.gui_events = {
[defines.events.on_gui_selected_tab_changed] = {},
[defines.events.on_gui_switch_state_changed] = {}
}
function _G.process_gui_event(event)
local function process_gui_event(event)
if event.element and event.element.valid then
for pattern, f in pairs(gui_events[event.name]) do
if event.element.name:match(pattern) then f(event); return end
Expand Down

0 comments on commit 5e0e179

Please sign in to comment.