From e307a6b22f77c41402d9f04618702f64b2e22f15 Mon Sep 17 00:00:00 2001 From: crabman77 Date: Fri, 3 Apr 2015 02:46:47 +0200 Subject: [PATCH] no clear mana when player leave --- mods/mana/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/mana/init.lua b/mods/mana/init.lua index ed3c2387..4ecd5dbf 100644 --- a/mods/mana/init.lua +++ b/mods/mana/init.lua @@ -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()