mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-25 16:31:08 +01:00
Fix #1200
This commit is contained in:
parent
2ace4ccc68
commit
524b3343bd
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue