load maps from png files
This commit is contained in:
parent
51334af8c3
commit
6bed7d918f
1 changed files with 85 additions and 60 deletions
|
|
@ -13,7 +13,8 @@ export default function Controls({playerId, logout}: {
|
|||
getWebSocket,
|
||||
readyState
|
||||
} = useWebSocket(url.toString(), {
|
||||
onError: logout
|
||||
onError: logout,
|
||||
shouldReconnect: () => true,
|
||||
});
|
||||
|
||||
const socket = getWebSocket();
|
||||
|
|
|
|||
Reference in a new issue