From: sfan5 Date: Fri, 20 Sep 2019 18:10:58 +0000 (+0200) Subject: Fix door infotext to correctly describe the type of door X-Git-Tag: 5.1.0~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=09bed49b5a1b9fbbfec3090f1d4f78452a1dba15;p=oweals%2Fminetest_game.git Fix door infotext to correctly describe the type of door --- diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 99b9e07e..6cc7d23f 100644 --- 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