fixed lastConnectionDate await issue

This commit is contained in:
IrPgFKS0 committed 2023-09-05 15:47:17 -07:00
1 parent 90aa597269
commit e1c1877322
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dayzr-bot",
"version": "9.8.1",
"version": "9.8.2",
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
"main": "index.js",
"nodemonConfig": {
+1 -1
View File
@@ -185,7 +185,7 @@ class DayzRBot extends Client {
// This player was not connected before, i.e missing connection log?
playerStat.connected = true;
playerStat.lastConnectionDate = this.getDateEST(info.time); // Assume connected now
playerStat.lastConnectionDate = await this.getDateEST(info.time); // Assume connected now
detectedAsConnected.push()
}