Fix incorrect call to `table.remove` in `on_leaveplayer`
This commit is contained in:
parent
fd370b2741
commit
143792eb9a
|
@ -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…
Reference in New Issue