mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 06:13:17 -04:00
Fix incorrect call to table.remove
in on_leaveplayer
This commit is contained in:
parent
fd370b2741
commit
143792eb9a
1 changed files with 1 additions and 1 deletions
|
@ -191,5 +191,5 @@ minetest.register_on_joinplayer(function(player)
|
|||
end)
|
||||
|
||||
minetest.register_on_leaveplayer(function(player)
|
||||
table.remove(player)
|
||||
playerlist[player] = nil
|
||||
end)
|
||||
|
|
Loading…
Add table
Reference in a new issue