Fixed Some Bugs

This commit is contained in:
Cooldude2606
2017-08-20 21:01:56 +01:00
parent 8e54a1d8bb
commit 7d02a52e2b
3 changed files with 6 additions and 3 deletions

View File

@@ -123,7 +123,7 @@ end
-- returns a list with every players current rank, or just the players of the rank given, includes online time
function get_ranked_players(rank)
local to_return = {}
for _,player in paris(game.players) do
for _,player in pairs(game.players) do
if not rank or rank == get_rank(player).name then
table.insert(to_return,{player.name,tick_to_display_format(player.online_time),get_rank(player).name})
end