From 8c68eba9436789728c997a3280c4228782c3cb35 Mon Sep 17 00:00:00 2001 From: Skillet Date: Sun, 5 Mar 2023 16:57:28 -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 4b10cde..55cef3e 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -102,7 +102,7 @@ export default class DBLogPlayerTime extends DBLog { console.log('last time found:', lastServerTime); let playerOnlineID = []; playerOnlineID.push(0); - for (player of this.server.players){ + for (const player of this.server.players){ playerOnlineID.push(player.steamID); } console.log('players online:', playerOnlineID);