Remove unnecessary index check

This commit is contained in:
Lars Mueller 2021-08-19 15:06:42 +02:00
parent f140f4cbf9
commit 5ae7cc254f

@ -244,9 +244,6 @@ function connected_players()
local index = 0
local len = #connected_players
return function()
if index >= len then
return
end
index = index + 1
return connected_players[index]
end