1
0
mirror of https://github.com/MinetestForFun/quests.git synced 2024-11-14 06:30:17 +01:00

fix the hud enabling/autohiding for new players

This commit is contained in:
Zheyu Shen 2015-07-09 15:03:42 +08:00
parent 0486bc4dd8
commit e63d4e6d15

View File

@ -217,5 +217,8 @@ minetest.register_on_joinplayer(function(player)
quests.show_hud(playername)
end, playername)
end
else --new player
quests.hud[playername] = {autohide = true}
quests.active_quests[playername] = {}
end
end)