From c9b64a3f8585500be15476c9daac0be0469f03e4 Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Wed, 7 Sep 2022 12:04:57 +0200 Subject: [PATCH] feat(ui): adding do not tp button --- ND_CharacterSelection/source/ui/script.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ND_CharacterSelection/source/ui/script.js b/ND_CharacterSelection/source/ui/script.js index edb0405..e5e43cc 100644 --- a/ND_CharacterSelection/source/ui/script.js +++ b/ND_CharacterSelection/source/ui/script.js @@ -93,6 +93,10 @@ $(function() { }, 10); } + if (item.type === "firstSpawn") { + $("#tpDoNot").text("Do not teleport") + } + if (item.type === "givePerms") { JSON.parse(item.deptRoles).forEach((dept) => { $(".departments").append($("