From dc485dc9b6c6a9750e4266c941e944678cb6ad94 Mon Sep 17 00:00:00 2001 From: Absurdon Date: Thu, 6 Apr 2017 15:11:05 +0200 Subject: [PATCH] Fixed logial flaw that made gathers reset on to few votes --- lib/gather/gather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gather/gather.js b/lib/gather/gather.js index 42d44a9..01a1d83 100644 --- a/lib/gather/gather.js +++ b/lib/gather/gather.js @@ -35,7 +35,7 @@ function Gather (options) { this.cooldown = {}; 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";