feat(base): Fixed logic for websockets and added GameStateEvent. Might've caused instability on other feature branches! #84

Merged
lq64 merged 3 commits from feat/implement-game-state-change into main 2025-11-26 11:26:09 +01:00
14 changed files with 200 additions and 134 deletions
Showing only changes of commit 32c4fe4598 - Show all commits

View File

@@ -36,8 +36,6 @@ function setupSocketHandlers(socket) {
return; return;
} }
console.log("Received event:", eventType, "data:", data);
if (id && eventType) { if (id && eventType) {
const handler = handlers.get(eventType); const handler = handlers.get(eventType);
const sendResponse = (result) => { const sendResponse = (result) => {