mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-08 00:39:30 +02:00
Bugfix: clicking on some GUI elements was triggerring errors on the FD stats panel.
This commit is contained in:
parent
5a9f4ea9c2
commit
45369a0d3d
@ -139,6 +139,9 @@ local function add_fd_stats_button(player)
|
||||
end
|
||||
|
||||
local function on_gui_click(event)
|
||||
if not event.element.valid then
|
||||
return
|
||||
end
|
||||
if event.element.name ~= "fd-stats-button" then
|
||||
return
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user