mirror of
https://github.com/AsgardEternal/SquadJSDocker.git
synced 2025-01-02 10:59:18 -06:00
Update db-log-addOn.js
This commit is contained in:
parent
5c4877f1d3
commit
e8c0607fe2
@ -102,9 +102,9 @@ export default class DBLogPlayerTime extends DBLog {
|
|||||||
console.log('last time found:', lastServerTime);
|
console.log('last time found:', lastServerTime);
|
||||||
let playerOnlineID = [];
|
let playerOnlineID = [];
|
||||||
playerOnlineID.push(0);
|
playerOnlineID.push(0);
|
||||||
for (const player of this.server.players){
|
// for (const player of this.server.players){
|
||||||
playerOnlineID.push(player.steamID);
|
// playerOnlineID.push(player.steamID);
|
||||||
}
|
// }
|
||||||
console.log('players online:', playerOnlineID);
|
console.log('players online:', playerOnlineID);
|
||||||
const {ne} = Sequelize.Op;
|
const {ne} = Sequelize.Op;
|
||||||
// let rowUpdate = await this.models.PlayerTime.update(
|
// let rowUpdate = await this.models.PlayerTime.update(
|
||||||
|
Loading…
Reference in New Issue
Block a user