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
@@ -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()
}