load maps from png files

This commit is contained in:
Vinzenz Schroeter 2024-04-14 21:10:21 +02:00
commit 6bed7d918f

View file

@ -55,7 +55,8 @@ export default function ClientScreen({logout, theme}: { logout: () => void, them
sendMessage,
getWebSocket
} = useWebSocket(import.meta.env.VITE_TANK_SCREEN_URL, {
onError: logout
onError: logout,
shouldReconnect: () => true,
});
const socket = getWebSocket();