flyzto hace 2 semanas
padre
commit
4a82cfabbb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      server/models/GamesPs.js

+ 1 - 1
server/models/GamesPs.js

@@ -1529,7 +1529,7 @@ events_child.on('message', async (message) => {
       updateSolutions(data.solutions, data.eventsLogsMap);
     }
   }
-  else if (method == 'response' && id && callbacks[id]) {
+  else if (type == 'response' && id && callbacks[id]) {
     callbacks[id](data);
     delete callbacks[id];
   }