Up regather threshold to 8 fixes #40

This commit is contained in:
Chris Blanchard 2015-09-20 00:48:51 +01:00
parent 5337789772
commit e13faee4cd
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ function Gather (options) {
options.onEvent : noop; options.onEvent : noop;
this.TEAM_SIZE = 6; this.TEAM_SIZE = 6;
this.gatherers = []; this.gatherers = [];
this.REGATHER_THRESHOLD = 6; this.REGATHER_THRESHOLD = 8;
this.election = { this.election = {
INTERVAL: 120000, // 2 mins INTERVAL: 120000, // 2 mins
startTime: null, startTime: null,

View file

@ -336,13 +336,13 @@ var GatherActions = React.createClass({
<li><button <li><button
value="false" value="false"
onClick={this.voteRegather} onClick={this.voteRegather}
className="btn btn-danger">{`Voted Regather (${regatherVotes}/6)`}</button></li>); className="btn btn-danger">{`Voted Regather (${regatherVotes}/8)`}</button></li>);
} else { } else {
regatherButton = ( regatherButton = (
<li><button <li><button
value="true" value="true"
onClick={this.voteRegather} onClick={this.voteRegather}
className="btn btn-danger">{`Vote Regather (${regatherVotes}/6)`}</button></li>); className="btn btn-danger">{`Vote Regather (${regatherVotes}/8)`}</button></li>);
} }
} }