mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
fixed afktime
This commit is contained in:
parent
4ad4a3a6c8
commit
55f1091410
@ -234,9 +234,9 @@ local function afk()
|
||||
time = time .. math.floor(v.afk_time / 21600) .. " hours "
|
||||
end
|
||||
if v.afk_time > 3600 then
|
||||
time = time .. math.floor(v.afk_time / 3600) .. " minutes and "
|
||||
time = time .. math.floor(v.afk_time / 3600) % 60 .. " minutes and "
|
||||
end
|
||||
time = time .. math.floor(v.afk_time / 3600) .. " seconds."
|
||||
time = time .. math.floor(v.afk_time / 60) % 60 .. " seconds."
|
||||
game.player.print(v.name .. " has been afk for" .. time)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user