From a2011ded58b81d16a3e8611243834cffe0320bd2 Mon Sep 17 00:00:00 2001 From: Gerkiz Date: Mon, 11 Jan 2021 15:57:57 +0100 Subject: [PATCH] comfy gui - don't show guis that are meant to be hidden --- comfy_panel/main.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/comfy_panel/main.lua b/comfy_panel/main.lua index 193fb7f6..a90e4fbf 100644 --- a/comfy_panel/main.lua +++ b/comfy_panel/main.lua @@ -44,7 +44,9 @@ end function Public.comfy_panel_restore_screen_gui(player) for _, child in pairs(player.gui.screen.children) do - child.visible = true + if child.name ~= 'ups_label' then + child.visible = true + end end end