no clear mana when player leave

This commit is contained in:
crabman77 2015-04-03 02:46:47 +02:00
parent d81950987b
commit e307a6b22f
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ minetest.register_on_leaveplayer(function(player)
if minetest.get_modpath("hudbars") == nil then
player:hud_remove(mana.playerlist[playername].hudid)
end
mana.playerlist[playername] = nil
--mana.playerlist[playername] = nil --uncomment to reset mana at deco/reco
end)
minetest.register_on_shutdown(function()