mirror of
https://github.com/AsgardEternal/SquadJSDocker.git
synced 2024-12-30 15:19:18 -06:00
Update db-log-addOn.js
This commit is contained in:
parent
e9184ea096
commit
9340081844
@ -99,7 +99,7 @@ export default class DBLogPlayerTime extends DBLog {
|
||||
async onUpdatedA2SInformation(info) {
|
||||
await super.onUpdatedA2SInformation(info);
|
||||
|
||||
if(info.a2sPlayerCount >= this.options.seedingThreshold && seeding === true) {
|
||||
if(info.a2sPlayerCount >= this.options.seedingThreshold && this.seeding === true) {
|
||||
await this.models.PlayerTime.update(
|
||||
{ seedTime: info.time },
|
||||
{ where: { seedTime: null, joinedSeeding: 1, leaveTime: null, server: this.options.overrideServerID || this.server.id } }
|
||||
|
Loading…
Reference in New Issue
Block a user