1
0
Fork 0
This commit is contained in:
Lizzy Fleckenstein 2021-02-26 09:19:11 +01:00
parent 2ace4ccc68
commit 524b3343bd
1 changed files with 1 additions and 0 deletions

View File

@ -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