Quest uses the old id of the previous connection if exists but it can correspond to another hud -> inventory_bag
This commit is contained in:
crabman77 2017-01-18 21:27:17 +01:00
parent fb9aeec0ff
commit 48dd7aa045
1 changed files with 3 additions and 3 deletions

View File

@ -297,9 +297,9 @@ end
minetest.register_on_joinplayer(function(player)
local playername = player:get_player_name()
if quests.hud[playername] ~= nil then
if not quests.hud[playername].first then
return
end
---if not quests.hud[playername].first then
--- return
---end
local list = quests.hud[playername].list
local autohide = quests.hud[playername].autohide
local central_message_enabled = quests.hud[playername].central_message_enabled