mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 07:13:45 +01:00
Remove unnecessary index check
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user