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);