diff options
author | Wuzzy <almikes@aol.com> | 2016-12-15 13:46:54 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-12-15 13:46:54 +0100 |
commit | b1e9fc9a5f7bf0585ff862e1aba9fcee2962f4a7 (patch) | |
tree | 7c63df29b5e1663a6f7d362aa8abc474493cbd73 | |
parent | 0b985b1ba76085b767cb1e3799540d288d836db7 (diff) |
Fix unlock message
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |