mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-24 03:47:58 +02:00
Remove unused global
This commit is contained in:
parent
280720ec46
commit
4f2097ca73
@ -1,14 +1,7 @@
|
|||||||
local Event = require 'utils.event'
|
local Event = require 'utils.event'
|
||||||
local Global = require 'utils.global'
|
|
||||||
local Gui = require 'utils.gui'
|
local Gui = require 'utils.gui'
|
||||||
local Server = require 'utils.server'
|
local Server = require 'utils.server'
|
||||||
|
|
||||||
local this = {
|
|
||||||
server_select = {
|
|
||||||
instances = {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
local main_frame_name = Gui.uid_name()
|
local main_frame_name = Gui.uid_name()
|
||||||
local main_button_name = Gui.uid_name()
|
local main_button_name = Gui.uid_name()
|
||||||
local discard_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 insert = table.insert
|
||||||
local sort = table.sort
|
local sort = table.sort
|
||||||
|
|
||||||
Global.register(
|
|
||||||
this,
|
|
||||||
function(t)
|
|
||||||
this = t
|
|
||||||
end
|
|
||||||
)
|
|
||||||
|
|
||||||
local function get_instance()
|
local function get_instance()
|
||||||
local server_instances = Server.get_instances()
|
local server_instances = Server.get_instances()
|
||||||
local id = Server.get_server_id()
|
local id = Server.get_server_id()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user