summaryrefslogtreecommitdiff
path: root/server/src/core/vm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/vm.lua')
-rw-r--r--server/src/core/vm.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/core/vm.lua b/server/src/core/vm.lua
index 290125f1..34df77a8 100644
--- a/server/src/core/vm.lua
+++ b/server/src/core/vm.lua
@@ -1022,9 +1022,9 @@ function mt:getSimple(simple, mode)
parentName = parentName .. '.' .. field.key
elseif tp == ':' then
object = field
- field.source.colon = obj
+ simple[i-1].colon = obj
elseif tp == '.' then
- field.source.dot = obj
+ simple[i-1].dot = obj
end
end
if mode == 'value' then