From 010237be970e64336329b7db2f24123fe256ea0c Mon Sep 17 00:00:00 2001 From: Davide Fantino <80767709+fantinodavide@users.noreply.github.com> Date: Sun, 18 Sep 2022 01:23:17 +0200 Subject: [PATCH] I was joking again, now we have fully implemented timeframes --- mapvote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapvote.js b/mapvote.js index a9b19bb..0a62a5a 100644 --- a/mapvote.js +++ b/mapvote.js @@ -137,7 +137,6 @@ export default class MapVote extends DiscordBasePlugin { } async mount() { - this.options.gamemodeWhitelist.forEach((e, k, a) => a[ k ] = e.toUpperCase()); this.server.on('NEW_GAME', this.onNewGame); this.server.on('CHAT_MESSAGE', this.onChatMessage); this.server.on('PLAYER_DISCONNECTED', this.onPlayerDisconnected); @@ -465,6 +464,7 @@ export default class MapVote extends DiscordBasePlugin { //TODO: right now if version is set to "Any" no caf layers will be selected populateNominations(steamid = null, cmdLayers = [], bypassRaasFilter = false) //gets nomination strings from layer options { + this.options.gamemodeWhitelist.forEach((e, k, a) => a[ k ] = e.toUpperCase()); // this.nominations.push(builtLayerString); // this.tallies.push(0);