1
0
Fork 0

Fix crash in awards mod

This commit is contained in:
Wuzzy 2020-01-06 11:24:28 +01:00
parent 01eb39b62f
commit 05152589fa
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ function awards.show_to(name, to, sid, text)
minetest.chat_send_player(to, S("You have not gotten any awards.")) minetest.chat_send_player(to, S("You have not gotten any awards."))
return return
end end
minetest.chat_send_player(to, S("@1s awards:"), name) minetest.chat_send_player(to, S("@1s awards:", name))
for _, str in pairs(awards.players[name].unlocked) do for _, str in pairs(awards.players[name].unlocked) do
local def = awards.def[str] local def = awards.def[str]