From 34718e35c8bc94e87943547a2857b3e1c8a1061a Mon Sep 17 00:00:00 2001 From: Skyler Cleland Date: Mon, 26 Jun 2023 22:10:38 -0400 Subject: [PATCH] Update mapvote.js --- mapvote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapvote.js b/mapvote.js index bb32911..9b74b1f 100644 --- a/mapvote.js +++ b/mapvote.js @@ -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);