Fixed lua ENV stuff and non saving globals

This commit is contained in:
Cooldude2606
2018-06-22 19:48:18 +01:00
parent 251249dcdc
commit 1d132b92fb
10 changed files with 16 additions and 8 deletions

View File

@@ -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 = {}