1
0
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:
MaemiKozue 2019-06-10 15:31:51 +02:00
parent 5a9f4ea9c2
commit 45369a0d3d

View File

@ -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