feat(base): Fixed logic for websockets and added GameStateEvent. Might've caused instability on other feature branches!
This commit is contained in:
@@ -36,8 +36,6 @@ function setupSocketHandlers(socket) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("Received event:", eventType, "data:", data);
|
||||
|
||||
if (id && eventType) {
|
||||
const handler = handlers.get(eventType);
|
||||
const sendResponse = (result) => {
|
||||
|
||||
Reference in New Issue
Block a user