summaryrefslogtreecommitdiff
path: root/script/core/generic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/generic.lua')
-rw-r--r--script/core/generic.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/script/core/generic.lua b/script/core/generic.lua
index 78c3eff9..15950974 100644
--- a/script/core/generic.lua
+++ b/script/core/generic.lua
@@ -1,4 +1,6 @@
+local guide = require 'parser.guide'
local noder = require "core.noder"
+
---@class generic.value
---@field type string
---@field closure generic.closure
@@ -143,6 +145,9 @@ local function buildValue(road, key, proto, param, upvalues)
if not paramID then
return
end
+ local myUri = guide.getUri(param)
+ local myHead = noder.URI_CHAR .. myUri .. noder.URI_CHAR
+ paramID = myHead .. paramID
if not upvalues[key] then
upvalues[key] = {}
end