mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-11 23:54:52 +09:00
Fixed desync with interface
This commit is contained in:
1 parent
8604b3fced
commit
e252d04c24
1 file changed
+2
-6
@@ -29,12 +29,8 @@ end
|
||||
|
||||
local interface_env = {} -- used as a persistent sandbox for interface commands
|
||||
local interface_callbacks = {} -- saves callbacks which can load new values per use
|
||||
Global.register({
|
||||
interface_env = interface_env,
|
||||
interface_callbacks = interface_callbacks
|
||||
},function(tbl)
|
||||
interface_env = tbl.interface_env
|
||||
interface_callbacks = tbl.interface_callbacks
|
||||
Global.register(interface_env,function(tbl)
|
||||
interface_env = tbl
|
||||
end)
|
||||
|
||||
--- Adds a callback function when the interface command is used
|
||||
|
||||
Reference in new issue
Block a user