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

This commit is contained in:
2025-11-26 11:17:53 +01:00
parent 404de18c91
commit 32c4fe4598

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) => {