From fcf50aab11a8d1582686d3e340bf9055ffcce9bd Mon Sep 17 00:00:00 2001 From: Annika <56906084+AnnikaCodes@users.noreply.github.com> Date: Sat, 25 Jul 2020 13:32:21 -0700 Subject: [PATCH] Don't show punishments twice (#1570) --- js/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client.js b/js/client.js index 001f23e05..b878761f8 100644 --- a/js/client.js +++ b/js/client.js @@ -2513,7 +2513,7 @@ function toId() { var globalGroupName = ''; if (globalGroup && globalGroup.name) { if (globalGroup.type === 'punishment') { - globalGroupName = globalGroup.name; + groupName = globalGroup.name; } else if (!groupName || groupName === globalGroup.name) { groupName = "Global " + globalGroup.name; } else {