1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-03-17 20:58:13 +02:00

Merge pull request #207 from ComfyFactory/code_cleanup

Remove unused global
This commit is contained in:
Gerkiz 2022-01-18 00:12:26 +01:00 committed by GitHub
commit b82d0f125f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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