1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-09 13:37:02 +02:00

minor fix

This commit is contained in:
Gerkiz 2021-12-06 16:51:22 +01:00
parent 9c76fb02bb
commit 8645fab495

View File

@ -60,9 +60,11 @@ function Public.comfy_panel_clear_gui(player)
child.destroy()
end
for _, child in pairs(player.gui.screen.children) do
if not screen_elements[child.name] then
child.destroy()
end
end
end
function Public.comfy_panel_get_active_frame(player)
local main_frame = player.gui.left.comfy_panel