summaryrefslogtreecommitdiff
path: root/server/src/vm/value.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm/value.lua')
-rw-r--r--server/src/vm/value.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua
index e924f642..43f278c0 100644
--- a/server/src/vm/value.lua
+++ b/server/src/vm/value.lua
@@ -549,7 +549,7 @@ function mt:setEmmy(emmy)
emmyClass:eachField(function (field)
local name = field:getName()
local value = field:bindValue()
- self:setChild(name, value, field:getSource()[2])
+ self:setChild(name, value, field:getSource())
end)
elseif emmy.type == 'emmy.type' then
---@type EmmyType