Fixed lua ENV stuff and non saving globals

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

No files matched your search

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