forked from VoxeLibre/VoxeLibre
Fix crash in awards mod
This commit is contained in:
parent
01eb39b62f
commit
05152589fa
|
@ -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("@1’s awards:"), name)
|
minetest.chat_send_player(to, S("@1’s 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]
|
||||||
|
|
Loading…
Reference in New Issue