Fix #1200
This commit is contained in:
parent
2ace4ccc68
commit
524b3343bd
@ -358,6 +358,7 @@ minetest.register_on_joinplayer(function(player)
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_on_leaveplayer(function(player)
|
minetest.register_on_leaveplayer(function(player)
|
||||||
|
lay_down(player, nil, nil, false, true)
|
||||||
local players = minetest.get_connected_players()
|
local players = minetest.get_connected_players()
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
for n, player in ipairs(players) do
|
for n, player in ipairs(players) do
|
||||||
|
Loading…
Reference in New Issue
Block a user