1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-08 00:39:30 +02:00

Remove unused global

This commit is contained in:
Gerkiz 2022-01-18 00:11:20 +01:00
parent 280720ec46
commit 4f2097ca73

View File

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