Updated for FSM 1.2.5

This commit is contained in:
Cooldude2606
2018-12-15 16:20:01 +00:00
parent 85efbd5cf8
commit 726c212545
29 changed files with 277 additions and 282 deletions

View File

@@ -13,7 +13,7 @@
],
"dependencies": {
"FactorioStdLib": "^0.8.0",
"ExpGamingCore.Server": "^4.0.0",
"ExpGamingCore.Server": "?^4.0.0",
"ExpGamingLib": "^4.0.0",
"FactorioStdLib.Game": "^0.8.0"
},

View File

@@ -101,14 +101,14 @@ function popup.open(style,data,players)
end
end
function popup._prototype:add_left(obj)
if not Gui.left then return end
obj.name = obj.name or self.name
self.left = Gui.left(obj)
end
function popup:on_init()
if loaded_modules['ExpGamingCore.Server'] then Server = require('ExpGamingCore.Server') end
if loaded_modules['ExpGamingCore.Gui.left'] then
function popup._prototype:add_left(obj)
obj.name = obj.name or self.name
self.left = Gui.left(obj)
end
end
end
function popup:on_post()

View File

@@ -15,9 +15,9 @@
"FactorioStdLib.Table": "^0.8.0",
"FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Group": "^4.0.0",
"ExpGamingCore.Server": "^4.0.0",
"ExpGamingCore.Command": "^4.0.0",
"ExpGamingCore.Sync": "^4.0.0"
"ExpGamingCore.Server": "?^4.0.0",
"ExpGamingCore.Command": "?^4.0.0",
"ExpGamingCore.Sync": "?^4.0.0"
},
"collection": "ExpGamingCore@4.0.0",
"submodules": {}

View File

@@ -19,8 +19,8 @@
"FactorioStdLib.Game": "^0.8.0",
"FactorioStdLib.Table": "^0.8.0",
"ExpGamingCore.Role": "?^4.0.0",
"ExpGamingCore.Gui": "^4.0.0",
"ExpGamingCore.Server": "^4.0.0"
"ExpGamingCore.Gui": "?^4.0.0",
"ExpGamingCore.Server": "?^4.0.0"
},
"collection": "ExpGamingCore@4.0.0",
"submodules": {}