summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/vm/value.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua
index ea16559a..95eb0192 100644
--- a/server/src/vm/value.lua
+++ b/server/src/vm/value.lua
@@ -354,6 +354,9 @@ function mt:mergeValue(value)
list[#list+1] = bc
end
end
+ if global then
+ bc:markGlobal()
+ end
a._child[k] = bc
end
end