mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-31 02:56:26 -04:00
Add missing S() for door ownership
This commit is contained in:
parent
653bef7699
commit
88d8cb54a6
1 changed files with 2 additions and 2 deletions
|
@ -93,10 +93,10 @@ function doors.register_door(name, def)
|
|||
local pn = placer:get_player_name()
|
||||
local meta = minetest.get_meta(pt)
|
||||
meta:set_string("doors_owner", pn)
|
||||
meta:set_string("infotext", "Owned by "..pn)
|
||||
meta:set_string("infotext", S("Owned by @1", meta:get_string("doors_owner")))
|
||||
meta = minetest.get_meta(pt2)
|
||||
meta:set_string("doors_owner", pn)
|
||||
meta:set_string("infotext", "Owned by "..pn)
|
||||
meta:set_string("infotext", S("Owned by @1", meta:get_string("doors_owner")))
|
||||
end
|
||||
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
|
|
Loading…
Add table
Reference in a new issue