From 4f2097ca73a648c1e8ed186e6462b89fb55a54d1 Mon Sep 17 00:00:00 2001 From: Gerkiz Date: Tue, 18 Jan 2022 00:11:20 +0100 Subject: [PATCH] Remove unused global --- comfy_panel/server_select.lua | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/comfy_panel/server_select.lua b/comfy_panel/server_select.lua index b63f135b..50333861 100644 --- a/comfy_panel/server_select.lua +++ b/comfy_panel/server_select.lua @@ -1,14 +1,7 @@ local Event = require 'utils.event' -local Global = require 'utils.global' local Gui = require 'utils.gui' local Server = require 'utils.server' -local this = { - server_select = { - instances = {} - } -} - local main_frame_name = Gui.uid_name() local main_button_name = Gui.uid_name() local discard_button_name = Gui.uid_name() @@ -16,13 +9,6 @@ local instance_id_name = Gui.uid_name() local insert = table.insert local sort = table.sort -Global.register( - this, - function(t) - this = t - end -) - local function get_instance() local server_instances = Server.get_instances() local id = Server.get_server_id()