Fixing CI
This commit is contained in:
parent
9b2914cc63
commit
756a495ac6
@ -45,7 +45,8 @@ const roomManager: IRoomManagerServer = {
|
||||
let room: GameRoom | null = null;
|
||||
let user: User | null = null;
|
||||
|
||||
call.on("data", async (message: PusherToBackMessage) => {
|
||||
call.on("data", (message: PusherToBackMessage) => {
|
||||
(async () => {
|
||||
try {
|
||||
if (room === null || user === null) {
|
||||
if (message.hasJoinroommessage()) {
|
||||
@ -127,6 +128,7 @@ const roomManager: IRoomManagerServer = {
|
||||
emitError(call, e);
|
||||
call.end();
|
||||
}
|
||||
})().catch(e => console.error(e));
|
||||
});
|
||||
|
||||
call.on("end", () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user