mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
bugfix: sharedatad load name
This commit is contained in:
@@ -39,7 +39,7 @@ function CMD.new(name, t)
|
|||||||
value = t
|
value = t
|
||||||
elseif dt == "string" then
|
elseif dt == "string" then
|
||||||
value = {}
|
value = {}
|
||||||
local f = load(t, "=" .. name, "t", env)
|
local f = load(t, "=" .. name, "t", value)
|
||||||
f()
|
f()
|
||||||
elseif dt == "nil" then
|
elseif dt == "nil" then
|
||||||
value = {}
|
value = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user