mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-11-10 03:25:23 +01: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