Fix awards logging
This commit is contained in:
parent
23a023d87d
commit
c1880d26c8
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user