diff options
Diffstat (limited to 'server/src/matcher')
-rw-r--r-- | server/src/matcher/vm.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/matcher/vm.lua b/server/src/matcher/vm.lua index 3e4ec658..47c6b44a 100644 --- a/server/src/matcher/vm.lua +++ b/server/src/matcher/vm.lua @@ -664,12 +664,13 @@ function mt:doFunction(action) local var, object if name.type == 'simple' then var, object = self:getSimple(name, 'field') + self:addInfo(var, 'set', name[#name]) else var = self:getName(name[1], name) + self:addInfo(var, 'set', name) end local func = self:createFunction(action, object) self:setValue(var, func) - self:addInfo(var, 'set', var.source) end function mt:doLocalFunction(action) |