Skip to content

Commit

Permalink
fix the playtime being shown in thousands of days
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitmel committed May 18, 2022
1 parent 19eeea3 commit 1b3725c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function setActivity(){

const elem = getCurrentElementName();

const timeStamp = new Date().getTime()/1000-cc.sc.stats.getStat("player", "playtime");
const timeStamp = new Date().getTime()-cc.sc.stats.getStat("player", "playtime")*1000;

var partySize = sc.party.getPartySize() + 1;

Expand Down

0 comments on commit 1b3725c

Please sign in to comment.