We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d340542 commit f20c67cCopy full SHA for f20c67c
components/home.js
@@ -1804,7 +1804,7 @@ export default function Home({ }) {
1804
ws.onclose = () => {
1805
setWs(null)
1806
console.log("ws closed")
1807
- sendEvent("multiplayer_wsclose")
+ sendEvent("multiplayer_disconnect")
1808
setMultiplayerState((prev) => ({
1809
...initialMultiplayerState,
1810
maxRetries: prev.maxRetries,
@@ -1828,7 +1828,7 @@ export default function Home({ }) {
1828
ws.onerror = () => {
1829
1830
console.log("ws error")
1831
- sendEvent("multiplayer_wserror")
1832
1833
1834
0 commit comments