This commit is contained in:
AlecM33
2022-12-13 14:18:17 -05:00
parent 064bf864fc
commit eb1baa0c3a
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ class SocketManager {
};
registerHandlers = (namespace, socket, gameManager) => {
socket.on(globals.SOCKET_EVENTS.IN_GAME_MESSAGE, async (eventId, accessCode, args=null, ackFn=null) => {
socket.on(globals.SOCKET_EVENTS.IN_GAME_MESSAGE, async (eventId, accessCode, args = null, ackFn = null) => {
const game = gameManager.activeGameRunner.activeGames.get(accessCode);
if (game) {
switch (eventId) {