load maps from png files

This commit is contained in:
Vinzenz Schroeter 2024-04-14 21:10:21 +02:00
parent 51334af8c3
commit 6bed7d918f
13 changed files with 86 additions and 61 deletions

View file

@ -13,7 +13,8 @@ export default function Controls({playerId, logout}: {
getWebSocket,
readyState
} = useWebSocket(url.toString(), {
onError: logout
onError: logout,
shouldReconnect: () => true,
});
const socket = getWebSocket();