mirror of
https://github.com/minetest/minetest_game.git
synced 2025-07-01 14:20:22 +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