mirror of
https://github.com/AsgardEternal/squad-js-map-vote.git
synced 2025-01-23 14:53:51 -06:00
Update mapvote.js
This commit is contained in:
parent
a1e4badf4b
commit
34718e35c8
@ -408,7 +408,7 @@ export default class MapVote extends DiscordBasePlugin {
|
||||
const maxSeedingModePlayerCount = Math.max(this.options.nextLayerSeedingModePlayerCount, this.options.instantSeedingModePlayerCount);
|
||||
if (this.server.players.length >= 1 && this.server.players.length < maxSeedingModePlayerCount) {
|
||||
if (+(new Date()) - +this.server.layerHistory[0].time > 30 * 1000) {
|
||||
const filterMaps = this.layerfilterWlist(this.layerfilterCorrectLayers(Layers.layers));
|
||||
const filterMaps = this.layerfilterCorrectLayers(Layers.layers);
|
||||
const seedingMaps = filterMaps.filter(l => l.gamemode.toLowerCase() === this.options.seedingGameMode);
|
||||
this.verbose(1, seedingMaps);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user