Update db-log-addOn.js

This commit is contained in:
Skillet 2023-02-16 02:02:17 -05:00 committed by GitHub
parent 708b14bf51
commit 6fedab417d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,7 @@ export default class DBLogPlayerTime extends DBLog {
async onUpdatedA2SInformation(info) {
await super.onUpdatedA2SInformation(info);
console.log(info);
if((this.seeding == true) && (info.a2sPlayerCount >= this.options.seedingThreshold)){
console.log('switching to Live');