From e9184ea096a52640485724ed55bc4f665f170324 Mon Sep 17 00:00:00 2001 From: Skillet Date: Mon, 13 Feb 2023 09:37:24 -0500 Subject: [PATCH] boog fix --- squadjsPlugins/db-log-addOn.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/squadjsPlugins/db-log-addOn.js b/squadjsPlugins/db-log-addOn.js index a7cf7a2..ebaa7a3 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -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) {