mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 16:30:19 +01:00
no clear mana when player leave
This commit is contained in:
parent
d81950987b
commit
e307a6b22f
@ -208,7 +208,7 @@ minetest.register_on_leaveplayer(function(player)
|
|||||||
if minetest.get_modpath("hudbars") == nil then
|
if minetest.get_modpath("hudbars") == nil then
|
||||||
player:hud_remove(mana.playerlist[playername].hudid)
|
player:hud_remove(mana.playerlist[playername].hudid)
|
||||||
end
|
end
|
||||||
mana.playerlist[playername] = nil
|
--mana.playerlist[playername] = nil --uncomment to reset mana at deco/reco
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_on_shutdown(function()
|
minetest.register_on_shutdown(function()
|
||||||
|
Loading…
Reference in New Issue
Block a user