Update db-log-addOn.js

This commit is contained in:
Skillet 2023-02-15 02:28:21 -05:00 committed by GitHub
parent 177382a153
commit df4b74025d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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