mirror of
https://github.com/AsgardEternal/SquadJSDocker.git
synced 2025-01-02 14:29:26 -06:00
Update db-log-addOn.js
This commit is contained in:
parent
3827ea16fd
commit
0d6766e804
@ -219,7 +219,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