mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-28 12:05:21 +09:00
Fixed lua ENV stuff and non saving globals
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
local Game = require('FactorioStdLib.Game')
|
||||
local Color = require('FactorioStdLib.Color')
|
||||
local mod_gui = require("mod-gui")
|
||||
local Gui = Gui -- this is to force gui to remain in the ENV
|
||||
|
||||
local center = {}
|
||||
center._center = {}
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
local Game = require('FactorioStdLib.Game')
|
||||
local Color = require('FactorioStdLib.Color')
|
||||
local mod_gui = require("mod-gui")
|
||||
local Gui = Gui -- this is to force gui to remain in the ENV
|
||||
|
||||
local inputs = {}
|
||||
inputs._input = {}
|
||||
|
||||
@@ -12,6 +12,7 @@ local Color = require('FactorioStdLib.Color')
|
||||
local success, Ranking = pcall(require,'ExpGamingCore.Ranking')
|
||||
if not success then Ranking = nil end success = nil
|
||||
local mod_gui = require("mod-gui")
|
||||
local Gui = Gui -- this is to force gui to remain in the ENV
|
||||
|
||||
local left = {}
|
||||
left._left = {}
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
local Game = require('FactorioStdLib.Game')
|
||||
local mod_gui = require("mod-gui")
|
||||
local Gui = Gui -- this is to force gui to remain in the ENV
|
||||
|
||||
local popup = {}
|
||||
popup._popup = {}
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
local Game = require('FactorioStdLib.Game')
|
||||
local Server = require('ExpGamingCore.Server')
|
||||
local Gui = Gui -- this is to force gui to remain in the ENV
|
||||
|
||||
--- Adds a server thread that allows the camera follows to be toggled off and on
|
||||
-- @function __comment
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
--- This is a submodule of ExpGamingCore.Gui but for ldoc reasons it is under its own module
|
||||
-- @function _comment
|
||||
|
||||
local Gui = require('ExpGamingCore.Gui')
|
||||
local Gui = Gui -- this is to force gui to remain in the ENV
|
||||
local mod_gui = require("mod-gui")
|
||||
|
||||
local gui_tset_close = Gui.inputs.add{
|
||||
|
||||
@@ -11,6 +11,7 @@ local Game = require('FactorioStdLib.Game')
|
||||
local success, Ranking = pcall(require,'ExpGamingCore.Ranking')
|
||||
if not success then Ranking = nil end success = nil
|
||||
local mod_gui = require("mod-gui")
|
||||
local Gui = Gui -- this is to force gui to remain in the ENV
|
||||
|
||||
local toolbar = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user