Proper archievement chat messages

This commit is contained in:
Lizzy Fleckenstein 2021-02-27 14:51:50 +01:00
parent ba1e42a638
commit 68ac84da83
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ function awards.unlock(name, award)
-- Get award -- Get award
minetest.log("action", name.." has gotten award "..award) minetest.log("action", name.." has gotten award "..award)
minetest.chat_send_all("<"..name.."> "..S("Achievement gotten: @1", award)) minetest.chat_send_all(name .. " has made the archievement " .. minetest.colorize("#51EF4E", "[" .. (awdef.title or award) .. "]"))
data.unlocked[award] = award data.unlocked[award] = award
awards.save() awards.save()