Forgot to maintain tick formating

This commit is contained in:
Cooldude2606
2018-07-21 17:06:34 +01:00
parent ad746de68c
commit e95c6c039e

View File

@@ -118,7 +118,7 @@ function Sync.count_afk_times(time)
local time = time or 7200 local time = time or 7200
local rtn = {} local rtn = {}
for _,player in pairs(game.connected_players) do for _,player in pairs(game.connected_players) do
if player.afk_time > time then rtn[player.name] = player.afk_time end if player.afk_time > time then rtn[player.name] = Sync.tick_format(player.afk_time) end
end end
return rtn return rtn
end end