summaryrefslogtreecommitdiff
path: root/server/src/vm/local.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm/local.lua')
-rw-r--r--server/src/vm/local.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/vm/local.lua b/server/src/vm/local.lua
index 5b936625..e7355dc2 100644
--- a/server/src/vm/local.lua
+++ b/server/src/vm/local.lua
@@ -153,7 +153,7 @@ function mt:setEmmy(emmy)
end
end
-local function create(name, source, value)
+local function create(name, source, value, tags)
if not value then
error('Local must has a value')
end
@@ -168,6 +168,7 @@ local function create(name, source, value)
name = name,
source = id,
value = value,
+ tags = tags,
_info = {},
}, mt)
Watch[self] = true