summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-12-15 13:46:54 +0100
committerWuzzy <almikes@aol.com>2016-12-15 13:46:54 +0100
commitb1e9fc9a5f7bf0585ff862e1aba9fcee2962f4a7 (patch)
tree7c63df29b5e1663a6f7d362aa8abc474493cbd73
parent0b985b1ba76085b767cb1e3799540d288d836db7 (diff)
Fix unlock message
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 64371ad..2758033 100644
--- a/init.lua
+++ b/init.lua
@@ -140,7 +140,7 @@ function doc.mark_entry_as_revealed(playername, category_id, entry_id)
doc.data.players[playername].entry_textlist_needs_updating = true
if minetest.get_modpath("central_message") ~= nil then
local cat = doc.data.categories[category_id]
- cmsg.push_message_player(minetest.get_player_by_name(playername), S("New help entry unlocked: @1 > @1", cat.def.name, entry.name))
+ cmsg.push_message_player(minetest.get_player_by_name(playername), S("New help entry unlocked: @1 > @2", cat.def.name, entry.name))
end
-- To avoid sound spamming, don't play sound more than once per second
local last_sound = doc.data.players[playername].last_reveal_sound