fix/logs-track-date

This commit is contained in:
SowinskiBraeden committed 2023-08-31 22:53:27 -07:00
1 parent c8821e70a2
commit d56ca83e1f
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dayz-armbands",
"version": "8.10.3",
"version": "8.10.4",
"description": "A General Purpose Discord Bot for DayZ Servers.",
"main": "index.js",
"nodemonConfig": {
+2 -2
View File
@@ -112,9 +112,9 @@ module.exports = {
playerStat.lastPos = playerStat.pos;
playerStat.pos = info.pos;
playerStat.lastTime = playerStat.time;
playerstat.lastDate = playerStat.date;
playerStat.lastDate = playerStat.date;
playerStat.time = `${info.time} EST`;
playerstat.date = await client.getDateEST(info.time);
playerStat.date = await client.getDateEST(info.time);
if (playerStatIndex == -1) stats.push(playerStat);
else stats[playerStatIndex] = playerStat;