From fb83c330eb9f27e2623d8441a453068f15ba0f60 Mon Sep 17 00:00:00 2001 From: Sean O'Donohue Date: Fri, 23 Jun 2017 15:53:04 -0400 Subject: [PATCH] Round overall goal percent that is displayed to avoid long repeating numbers. --- src/Quest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Quest.js b/src/Quest.js index a2fb1b80f..ef1778fc9 100644 --- a/src/Quest.js +++ b/src/Quest.js @@ -79,7 +79,7 @@ class Quest extends EventEmitter { }); return { - percent: overallPercent / this.goals.length, + percent: Math.round(overallPercent / this.goals.length), display: overallDisplay.join('\r\n'), }; }