From 14218b133d604172414d5e52bbd7600611eca78c Mon Sep 17 00:00:00 2001 From: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Sun, 13 Dec 2020 13:59:13 -0600 Subject: [PATCH] Youtube: Fix crash in /yt endwatch --- server/chat-plugins/youtube.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/chat-plugins/youtube.ts b/server/chat-plugins/youtube.ts index 9de0d173e363..97f49516369e 100644 --- a/server/chat-plugins/youtube.ts +++ b/server/chat-plugins/youtube.ts @@ -565,8 +565,8 @@ export const commands: ChatCommands = { this.checkCan('mute', null, room); this.requireGame(GroupWatch); room.parent!.modlog({action: `GROUPWATCH END`, loggedBy: user.id}); - room.destroy(); room.parent!.add(`|c|~|/uhtmlchange ${room.roomid},`).update(); + room.destroy(); }, startwatch: 'beginwatch', beginwatch(target, room, user) {