Fix awards logging

This commit is contained in:
kay27 2021-02-26 02:58:53 +04:00
parent 23a023d87d
commit c1880d26c8

View File

@ -213,7 +213,7 @@ function awards.unlock(name, award)
end end
-- Get award -- Get award
minetest.log("action", name.." has gotten award "..name) minetest.log("action", name.." has gotten award "..award)
minetest.chat_send_all("<"..name.."> "..S("Achievement gotten: @1", award)) minetest.chat_send_all("<"..name.."> "..S("Achievement gotten: @1", award))
data.unlocked[award] = award data.unlocked[award] = award
awards.save() awards.save()