update comments in timer modules

This commit is contained in:
AlecM33
2022-01-11 22:54:48 -05:00
parent f5c0984211
commit 7e4083f097
3 changed files with 9 additions and 2 deletions

View File

@@ -20,7 +20,6 @@ const game = () => {
toast('Disconnected. Attempting reconnect...', 'error', true, false);
});
socket.on('connect', () => {
console.log('fired connect event');
socket.emit(globals.COMMANDS.GET_ENVIRONMENT, function (returnedEnvironment) {
timerWorker = new Worker(new URL('../modules/Timer.js', import.meta.url));
prepareGamePage(returnedEnvironment, socket, timerWorker);