mirror of
https://github.com/AsgardEternal/SquadJSDocker.git
synced 2025-01-02 13:19:20 -06:00
Update db-log-addOn.js
This commit is contained in:
parent
b2ede5df25
commit
b1f523c67c
@ -175,7 +175,7 @@ export default class DBLogPlayerTime extends DBLog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async onPlayerDisconnected(info) {
|
async onPlayerDisconnected(info) {
|
||||||
await sleep (500);
|
await new Promise(r => setTimeout(r, 500));
|
||||||
console.log(info);
|
console.log(info);
|
||||||
if(info.player){
|
if(info.player){
|
||||||
await this.models.SteamUser.upsert({
|
await this.models.SteamUser.upsert({
|
||||||
|
Loading…
Reference in New Issue
Block a user