From e8c0607fe28de7261bb521666c509aa1220b9cda Mon Sep 17 00:00:00 2001 From: Skillet Date: Sun, 5 Mar 2023 23:34:47 -0500 Subject: [PATCH] Update db-log-addOn.js --- squadjsPlugins/db-log-addOn.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/squadjsPlugins/db-log-addOn.js b/squadjsPlugins/db-log-addOn.js index f15fb34..3770c51 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -102,9 +102,9 @@ export default class DBLogPlayerTime extends DBLog { console.log('last time found:', lastServerTime); let playerOnlineID = []; playerOnlineID.push(0); - for (const player of this.server.players){ - playerOnlineID.push(player.steamID); - } +// for (const player of this.server.players){ +// playerOnlineID.push(player.steamID); +// } console.log('players online:', playerOnlineID); const {ne} = Sequelize.Op; // let rowUpdate = await this.models.PlayerTime.update(