mirror of
https://github.com/AsgardEternal/SquadJSDocker.git
synced 2025-01-04 18:59:29 -06:00
Change Threshold logic for Seeding
This commit is contained in:
parent
28ceb0d2bc
commit
067ffc766d
@ -106,7 +106,8 @@ export default class DBLogPlayerTime extends DBLog {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.seeding = info.a2sPlayerCount >= this.options.seedingThreshold ? false : true;
|
if(seeding === true && info.a2sPlayerCount >= this.options.seedingThreshold) this.seeding = false;
|
||||||
|
else if(seeding === false && info.a2sPlayerCount-20 < this.options.seedingThreshold) this.seeding = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
async onPlayerConnected(info) {
|
async onPlayerConnected(info) {
|
||||||
|
Loading…
Reference in New Issue
Block a user