This commit is contained in:
Skillet 2023-02-13 09:37:24 -05:00 committed by GitHub
parent 067ffc766d
commit e9184ea096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,8 +106,8 @@ export default class DBLogPlayerTime extends DBLog {
);
}
if(seeding === true && info.a2sPlayerCount >= this.options.seedingThreshold) this.seeding = false;
else if(seeding === false && info.a2sPlayerCount-20 < this.options.seedingThreshold) this.seeding = true;
if(this.seeding === true && info.a2sPlayerCount >= this.options.seedingThreshold) this.seeding = false;
else if(this.seeding === false && info.a2sPlayerCount-20 < this.options.seedingThreshold) this.seeding = true;
}
async onPlayerConnected(info) {