From 9340081844f44cdfbc471330718c90ac61c87211 Mon Sep 17 00:00:00 2001 From: Skillet Date: Tue, 14 Feb 2023 00:17:24 -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 ebaa7a3..253135c 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -99,7 +99,7 @@ export default class DBLogPlayerTime extends DBLog { async onUpdatedA2SInformation(info) { await super.onUpdatedA2SInformation(info); - if(info.a2sPlayerCount >= this.options.seedingThreshold && seeding === true) { + if(info.a2sPlayerCount >= this.options.seedingThreshold && this.seeding === true) { await this.models.PlayerTime.update( { seedTime: info.time }, { where: { seedTime: null, joinedSeeding: 1, leaveTime: null, server: this.options.overrideServerID || this.server.id } }