From 612b01ad9ae5bb0ff5b9fd9144a39f9868d4b0fd Mon Sep 17 00:00:00 2001 From: niklasar Date: Sun, 8 May 2022 21:17:37 +0200 Subject: [PATCH 1/2] Delete Debug --- frontend/src/components/DungeonMaster/Chat/ChatOutput.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frontend/src/components/DungeonMaster/Chat/ChatOutput.tsx b/frontend/src/components/DungeonMaster/Chat/ChatOutput.tsx index a0dc8f17..6a611f24 100644 --- a/frontend/src/components/DungeonMaster/Chat/ChatOutput.tsx +++ b/frontend/src/components/DungeonMaster/Chat/ChatOutput.tsx @@ -40,11 +40,6 @@ const ChatOutput: React.FC = ({ selectedRooms }) => { }; useEffect(scrollToBottom, [messages]); - useEffect(() => { - console.log(selectedRooms); - return () => {} - }, [selectedRooms]); - return (
From 1973bb85907e9b9316105c838da515845937b466 Mon Sep 17 00:00:00 2001 From: Fabian Date: Sun, 8 May 2022 21:17:46 +0200 Subject: [PATCH 2/2] fix stop dungeon --- backend/game/src/worker/worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/game/src/worker/worker.ts b/backend/game/src/worker/worker.ts index 0f36a3e8..67c87a93 100644 --- a/backend/game/src/worker/worker.ts +++ b/backend/game/src/worker/worker.ts @@ -93,7 +93,7 @@ function handleHostMessages(dungeonController: DungeonController) { userTokens[userID][character] = verifyToken; break; case 'stop': - // dungeonController.stopDungeon(); + dungeonController.stopDungeon(); break; } });