Update db-log-addOn.js

This commit is contained in:
Skillet 2023-03-06 21:30:12 -05:00 committed by GitHub
parent b2ede5df25
commit b1f523c67c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,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({