Skip to content

Commit b39ab1a

Browse files
authored
Merge pull request #452 from SDM0/main
2 parents 574d3d1 + 6e80d85 commit b39ab1a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Cryptid.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ local function process_items(f, mod)
6969
}
7070
item.mod_path = mod.path
7171
if item.key then
72-
item.key = mod.prefix .. "_" .. item.key
72+
if item.object_type and SMODS[item.object_type].class_prefix then
73+
item.key = SMODS[item.object_type].class_prefix .. "_" .. mod.prefix .. "_" .. item.key
74+
else
75+
item.key = mod.prefix .. "_" .. item.key
76+
end
7377
end
7478
if item.atlas then
7579
item.atlas = mod.prefix .. "_" .. item.atlas

0 commit comments

Comments
 (0)