changed naming scheme for mode blacklist to make it more human readable

This commit is contained in:
maskedmonkyman 2022-04-23 13:19:35 -07:00
parent 7d0ac0db40
commit aaa4332826
2 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,11 @@
"Invasion"
],
"mode_repeat_blacklist":
[
"Invasion"
],
"rules":
{
"Gorodok":

View File

@ -250,7 +250,7 @@ export default class MapVote extends BasePlugin
if (mode === "Any")
modes = this.voteRules.modes;
if (this.voteRules.repeatBlacklist.includes(currentMode))
if (this.voteRules.mode_repeat_blacklist.includes(currentMode))
{
modes = modes.filter(mode => !mode.includes(currentMode));
}