diff options
Diffstat (limited to 'server/src/vm/value.lua')
-rw-r--r-- | server/src/vm/value.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua index 9f9b6b7c..e924f642 100644 --- a/server/src/vm/value.lua +++ b/server/src/vm/value.lua @@ -546,6 +546,11 @@ function mt:setEmmy(emmy) value:mergeValue(self) end end) + emmyClass:eachField(function (field) + local name = field:getName() + local value = field:bindValue() + self:setChild(name, value, field:getSource()[2]) + end) elseif emmy.type == 'emmy.type' then ---@type EmmyType local emmyType = emmy |