summaryrefslogtreecommitdiff
path: root/server/src/matcher/vm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/matcher/vm.lua')
-rw-r--r--server/src/matcher/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/matcher/vm.lua b/server/src/matcher/vm.lua
index 9e559fa7..b7941b2c 100644
--- a/server/src/matcher/vm.lua
+++ b/server/src/matcher/vm.lua
@@ -578,6 +578,7 @@ function mt:createValue(tp, source, v)
type = tp,
source = source or DefaultSource,
value = v,
+ uri = self.uri,
}
local lib = library.object[tp]
if lib then
@@ -1183,7 +1184,6 @@ function mt:mergeRequire(value, destVM)
mainValue = deepCopy(main.returns[1])
end
self:mergeValue(value, mainValue)
- value.uri = destVM.uri
end
function mt:loadRequires()