mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-19 07:13:13 +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_env = {} -- used as a persistent sandbox for interface commands
|
||||||
local interface_callbacks = {} -- saves callbacks which can load new values per use
|
local interface_callbacks = {} -- saves callbacks which can load new values per use
|
||||||
Global.register({
|
Global.register(interface_env,function(tbl)
|
||||||
interface_env = interface_env,
|
interface_env = tbl
|
||||||
interface_callbacks = interface_callbacks
|
|
||||||
},function(tbl)
|
|
||||||
interface_env = tbl.interface_env
|
|
||||||
interface_callbacks = tbl.interface_callbacks
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
--- Adds a callback function when the interface command is used
|
--- Adds a callback function when the interface command is used
|
||||||
|
|||||||
Reference in new issue
Block a user