mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-09 13:37:02 +02:00
minor fix
This commit is contained in:
parent
9c76fb02bb
commit
8645fab495
@ -60,7 +60,9 @@ function Public.comfy_panel_clear_gui(player)
|
||||
child.destroy()
|
||||
end
|
||||
for _, child in pairs(player.gui.screen.children) do
|
||||
child.destroy()
|
||||
if not screen_elements[child.name] then
|
||||
child.destroy()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user