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
6489b7d60a
commit
3698f74280
@ -410,7 +410,7 @@ export default class MapVote extends DiscordBasePlugin {
|
||||
if (+(new Date()) - +this.server.layerHistory[0].time > 30 * 1000) {
|
||||
const filterMaps = this.layerfilterCorrectLayers(Layers.layers);
|
||||
const seedingMaps = filterMaps.filter(l => l.gamemode.toLowerCase() === this.options.seedingGameMode);
|
||||
this.verbose(1, "Seeding Maps Found:" seedingMaps);
|
||||
this.verbose(1, "Seeding Maps Found:" + seedingMaps);
|
||||
|
||||
const rndMap = randomElement(seedingMaps);
|
||||
if (this.server.currentLayer) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user