master #5

Merged
epCode merged 255 commits from VoxeLibre/VoxeLibre:master into master 2021-02-02 23:20:01 +01:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit b5d92f3078 - Show all commits

View File

@ -359,6 +359,7 @@ end)
minetest.register_on_leaveplayer(function(player) minetest.register_on_leaveplayer(function(player)
local players = minetest.get_connected_players() local players = minetest.get_connected_players()
local name = player:get_player_name()
for n, player in ipairs(players) do for n, player in ipairs(players) do
if player:get_player_name() == name then if player:get_player_name() == name then
players[n] = nil players[n] = nil