From d5040e06b741d9437baacef34d809ccc7873622c Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Sun, 17 Jul 2022 20:14:27 +0200 Subject: [PATCH] Fixed duplicated departments issue You will now receive the right permissions for the right departments without any departments messing or getting duplicated. --- ND_CharacterSelection/source/ui/script.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ND_CharacterSelection/source/ui/script.js b/ND_CharacterSelection/source/ui/script.js index f6ac49e..150d20d 100644 --- a/ND_CharacterSelection/source/ui/script.js +++ b/ND_CharacterSelection/source/ui/script.js @@ -112,9 +112,11 @@ $(function() { } if (item.type === "givePerms") { - $('.departments').append($('