This commit is contained in:
Lamp 2018-07-30 14:36:16 -07:00 committed by GitHub
parent 9983731dd6
commit e982272b57

@ -39,7 +39,7 @@ client2.on('n', msg => {
});
// NMPB chat to lobby
client2.on('a', msg => {
if (client2.findParticipantById(msg.p)._id != nmpb_id) return;
if (msg.p._id != nmpb_id) return;
client1.sendArray([{m:'a', message: msg.a}]);
});