summaryrefslogtreecommitdiff
path: root/server/src/vm/vm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm/vm.lua')
-rw-r--r--server/src/vm/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua
index 9eb46c58..c140589c 100644
--- a/server/src/vm/vm.lua
+++ b/server/src/vm/vm.lua
@@ -62,6 +62,7 @@ function mt:buildTable(source)
local value = self:getFirstInMulti(self:getExp(obj[2]))
local key = obj[1]
self:instantSource(key)
+ key:bindValue(value, 'set')
if key.index then
local index = self:getIndex(key)
tbl:setChild(index, value)
@@ -89,7 +90,6 @@ function mt:buildTable(source)
end
-- 处理写了一半的 key = value,把name类的数组元素视为哈希键
if obj.type == 'name' then
- obj.isIndex = true
end
end
end