Folders where numbered not named.
This commit is contained in:
Coder12a 2018-11-06 21:09:23 -06:00
parent 0958f312e0
commit 1807225d7b

View File

@ -59,8 +59,8 @@ function colddb.add_tag(db,name,tag)
db.tags[name] = ""
end
if type(tag) == "table" then
for _index in pairs(tag) do
t = string.format("%s%s/",t,_index)
for key,value in pairs(tag) do
t = string.format("%s%s/",t,value)
end
else
t = string.format("%s/",tag)