From 9b32103aa16f535d708679884905b7f9af42fe84 Mon Sep 17 00:00:00 2001 From: Skillet Date: Mon, 20 Mar 2023 12:51:13 -0400 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 83b1c96..9309846 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -235,7 +235,7 @@ export default class DBLogPlayerTime extends DBLog { await this.updateCurrentTimeState(curDateTime, this.seeding, ServerState.live); } } else { - if(this.server.currentLayerRcon.layer.includes("Seed")){ + if(info.layerClassname.includes("Seed")){ console.log('switching to seeding'); await this.updateCurrentTimeState(curDateTime, this.seeding, ServerState.seeding); } else {