mirror of
https://github.com/AsgardEternal/squad-js-map-vote.git
synced 2025-01-23 18:23:52 -06:00
control for allowedSameMapEntries
This commit is contained in:
parent
94cd830d7e
commit
e339b07647
@ -152,6 +152,8 @@ export default class MapVote extends DiscordBasePlugin {
|
||||
|
||||
this.options.timeFrames.forEach((e, key, arr) => { arr[ key ].id = key + 1 });
|
||||
|
||||
if (this.options.allowedSameMapEntries < 1) this.options.allowedSameMapEntries = 1
|
||||
|
||||
this.voteRules = {}; //data object holding vote configs
|
||||
this.nominations = []; //layer strings for the current vote choices
|
||||
this.trackedVotes = {}; //player votes, keyed by steam id
|
||||
|
Loading…
x
Reference in New Issue
Block a user