debug last update
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -64,7 +64,7 @@ module.exports = {
|
||||
|
||||
let newDt = await client.getDateEST(info.time);
|
||||
let unixTime = Math.floor(newDt.getTime()/1000);
|
||||
let oldUnixTime = Math.floor(info.lastConnectionDate.getTime()/1000);
|
||||
let oldUnixTime = Math.floor(playerStat.lastConnectionDate.getTime()/1000);
|
||||
let seconds = unixTime - oldUnixTime;
|
||||
let sessionTime = client.secondsToDhms(seconds);
|
||||
|
||||
|
||||
Reference in new issue
Block a user