mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-10 23:31:44 +00:00
Up regather threshold to 8 fixes #40
This commit is contained in:
parent
5337789772
commit
e13faee4cd
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||||
|
|
|
@ -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>);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue