From b1e9fc9a5f7bf0585ff862e1aba9fcee2962f4a7 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 15 Dec 2016 13:46:54 +0100 Subject: Fix unlock message --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3