projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f9287
)
Fix door infotext to correctly describe the type of door
author
sfan5
<sfan5@live.de>
Fri, 20 Sep 2019 18:10:58 +0000
(20:10 +0200)
committer
GitHub
<noreply@github.com>
Fri, 20 Sep 2019 18:10:58 +0000
(20:10 +0200)
mods/doors/init.lua
patch
|
blob
|
history
diff --git
a/mods/doors/init.lua
b/mods/doors/init.lua
index 99b9e07e94371b6dfdd8f133272c3fc13681d353..6cc7d23f05d3fc0a4110bdd600f73d115b109195 100644
(file)
--- a/
mods/doors/init.lua
+++ b/
mods/doors/init.lua
@@
-333,7
+333,7
@@
function doors.register(name, def)
if def.protected then
meta:set_string("owner", pn)
- meta:set_string("infotext",
S("Steel Door")
.. "\n" .. S("Owned by @1", pn))
+ meta:set_string("infotext",
def.description
.. "\n" .. S("Owned by @1", pn))
end
if not (creative and creative.is_enabled_for and creative.is_enabled_for(pn)) then