From 75ed52848a2bf178d602cdb1ff4116b105e9c201 Mon Sep 17 00:00:00 2001 From: Skillet Date: Sat, 4 Mar 2023 10:54:13 -0500 Subject: [PATCH] Update db-log-addOn.js --- squadjsPlugins/db-log-addOn.js | 1 + 1 file changed, 1 insertion(+) diff --git a/squadjsPlugins/db-log-addOn.js b/squadjsPlugins/db-log-addOn.js index 3f5b45f..718561f 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -101,6 +101,7 @@ export default class DBLogPlayerTime extends DBLog { let lastServerTime = lastTickTime.time; console.log('last time found:', lastServerTime); let playerOnlineID = []; + playerOnlineID.push(0); for (player of this.server.players){ playerOnlineID.push(player.steamID); }