Quote horn sound for constistency
This commit is contained in:
parent
c3f9da6f24
commit
78509e9fb0
2
init.lua
2
init.lua
@ -148,7 +148,7 @@ local function doc_register_wagon(itemname)
|
||||
if type(hornsound) == "table" then
|
||||
hornsound = hornsound.name
|
||||
end
|
||||
table.insert(desctext, S("Horn sound: @1", hornsound and hornsound ~= "" and hornsound or S("Undefined")))
|
||||
table.insert(desctext, S("Horn sound: @1", hornsound and hornsound ~= "" and quotestring(hornsound) or S("Undefined")))
|
||||
table.insert(desctext, S("Mesh: @1", quotestring(prototype.mesh)))
|
||||
addlist(desctext, prototype.textures, S("Textures:"), S("No textures"), false, function(_, v) return quotestring(v) end)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user