Fixed logial flaw that made gathers reset on to few votes

This commit is contained in:
Absurdon 2017-04-06 15:11:05 +02:00
parent 73a4a967f5
commit dc485dc9b6

View file

@ -35,7 +35,7 @@ function Gather (options) {
this.cooldown = {}; this.cooldown = {};
this.COOLDOWN_TIME = 60 * 3;// 3 Minutes this.COOLDOWN_TIME = 60 * 3;// 3 Minutes
this.REGATHER_THRESHOLD = Math.floor(this.teamSize / 2) + 2; this.REGATHER_THRESHOLD = this.teamSize + 2;
this.type = options.type || "classic"; this.type = options.type || "classic";