Update db-log-addOn.js

This commit is contained in:
Skillet 2023-03-05 16:57:28 -05:00 committed by GitHub
parent 6e18ef7634
commit 8c68eba943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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