mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-10-17 02:15:35 +02:00
Fix incorrect call to table.remove
in on_leaveplayer
This commit is contained in:
@@ -191,5 +191,5 @@ minetest.register_on_joinplayer(function(player)
|
||||
end)
|
||||
|
||||
minetest.register_on_leaveplayer(function(player)
|
||||
table.remove(player)
|
||||
playerlist[player] = nil
|
||||
end)
|
||||
|
Reference in New Issue
Block a user