feat(base): Fixed logic for websockets and added GameStateEvent. Might've caused instability on other feature branches! #84
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user