1
0
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:
Lars Müller
2023-03-11 10:06:41 +01:00
committed by GitHub
parent fd370b2741
commit 143792eb9a

View File

@ -191,5 +191,5 @@ minetest.register_on_joinplayer(function(player)
end) end)
minetest.register_on_leaveplayer(function(player) minetest.register_on_leaveplayer(function(player)
table.remove(player) playerlist[player] = nil
end) end)