mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-17 00:40:42 +09:00
Fixed Task list and Admin Commands
This commit is contained in:
1 parent
5cc5546a05
commit
627f5a4651
10 files changed
+31
-28
No files matched your search
@@ -10,6 +10,7 @@ local Gui = require('ExpGamingCore.Gui@^4.0.0')
|
||||
local Role = require('ExpGamingCore.Role@^4.0.0')
|
||||
local Game = require('FactorioStdLib.Game@^0.8.0')
|
||||
local playerInfo -- ExpGamingPlayer@^4.0.0
|
||||
local mod_gui = require('mod-gui')
|
||||
|
||||
-- Module Define
|
||||
local module_verbose = false
|
||||
@@ -137,7 +138,7 @@ Admin.center = Gui.center.add{
|
||||
open=function(event,pre_select_player,pre_select_action)
|
||||
local _player = Game.get_player(pre_select_player)
|
||||
local player = Game.get_player(event)
|
||||
local _center = Gui._get_data('center')['admin-commands']
|
||||
local _center = Gui.data.center['admin-commands']
|
||||
local center_flow = Gui.center.get_flow(player)
|
||||
if center_flow[_center.name] then Gui.center.clear(player) return end
|
||||
local center_frame = center_flow.add{
|
||||
|
||||
Reference in new issue
Block a user