From df4b74025d8ba081730a07177b45eeb129fc9392 Mon Sep 17 00:00:00 2001 From: Skillet Date: Wed, 15 Feb 2023 02:28:21 -0500 Subject: [PATCH] Update db-log-addOn.js --- squadjsPlugins/db-log-addOn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squadjsPlugins/db-log-addOn.js b/squadjsPlugins/db-log-addOn.js index 9764aef..988e168 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -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) {