Update db-log-addOn.js

This commit is contained in:
Skillet 2023-03-06 21:16:09 -05:00 committed by GitHub
parent 3827ea16fd
commit 0d6766e804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,7 +219,7 @@ export default class DBLogPlayerTime extends DBLog {
}
async onPlayerDisconnected(info) {
await sleep(500);
await new Promise(r => setTimeout(r, 500));
console.log(info);
if (info.player) {
await this.models.SteamUser.upsert({