Skip to content
Snippets Groups Projects
Commit 4797562d authored by DarkGod's avatar DarkGod
Browse files

Fixed time played in discord rich presence to correctly indicate hours instead of days

parent e2142f51
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -730,7 +730,7 @@ function _M:updateCurrentChar()
if days > 0 then
playtime = ("%id %ih %im %ss"):format(days, hours, minutes, seconds)
elseif hours > 0 then
playtime = ("%id %im %ss"):format(hours, minutes, seconds)
playtime = ("%ih %im %ss"):format(hours, minutes, seconds)
elseif minutes > 0 then
playtime = ("%im %ss"):format(minutes, seconds)
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment