Fixed ExpGamingAdmin.Gui no info file

This commit is contained in:
Cooldude2606
2018-11-04 16:33:16 +00:00
parent ebb6f59232
commit 4311bf765f

View File

@@ -9,14 +9,14 @@ local Admin = require('ExpGamingAdmin.AdminLib@^4.0.0')
local Gui = require('ExpGamingCore.Gui@^4.0.0') local Gui = require('ExpGamingCore.Gui@^4.0.0')
local Role = require('ExpGamingCore.Role@^4.0.0') local Role = require('ExpGamingCore.Role@^4.0.0')
local Game = require('FactorioStdLib.Game@^0.8.0') local Game = require('FactorioStdLib.Game@^0.8.0')
local playerInfo -- ExpGamingPlayer@^4.0.0 local playerInfo -- ExpGamingPlayer.playerInfo@^4.0.0
local mod_gui = require('mod-gui') local mod_gui = require('mod-gui')
-- Module Define -- Module Define
local module_verbose = false local module_verbose = false
local AdminGui = { local AdminGui = {
on_init=function() on_init=function()
if loaded_modules['ExpGamingPlayer@^4.0.0'] then playerInfo = require('ExpGamingPlayer@^4.0.0') if loaded_modules['ExpGamingPlayer.playerInfo@^4.0.0'] then playerInfo = require('ExpGamingPlayer@^4.0.0')
else playerInfo = function(player,frame) else playerInfo = function(player,frame)
frame.add{ frame.add{
type='label', type='label',