change disconnect toast

This commit is contained in:
Alec
2021-12-01 15:09:43 -05:00
parent 27dfd55cda
commit 2b09cab5bc

View File

@@ -10,7 +10,7 @@ export const game = () => {
const socket = io('/in-game');
socket.on('disconnect', () => {
timerWorker.terminate();
toast('You are disconnected.', 'error', true);
toast('Disconnected. Attempting reconnect...', 'error', true, false);
});
socket.on('connect', () => {
socket.emit(globals.COMMANDS.GET_ENVIRONMENT, function(returnedEnvironment) {