mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-12 22:00:02 -04:00
fix server crash
This commit is contained in:
parent
1fd0878c91
commit
d131afc85e
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ export async function answerRtc(data: any, onrespond: (answer: any) => void) {
|
||||||
server.onMsg(bufferToArrayBuffer(event.data));
|
server.onMsg(bufferToArrayBuffer(event.data));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new Error("Unexpected datachannel message type");
|
// ignore text and other types of messages
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue