srv
This commit is contained in:
parent
dd3ec0316c
commit
77460ec9bd
1 changed files with 2 additions and 0 deletions
|
@ -113,6 +113,8 @@ wss.on('connection', (socket, req) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
broadcast(JSON.stringify(message), socket.id);
|
broadcast(JSON.stringify(message), socket.id);
|
||||||
|
} else if(message.type=="newBullet"){
|
||||||
|
broadcast(message, socket.id);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue