Merge remote-tracking branch 'origin/master' into fix_multiplayer_concurrency

This commit is contained in:
dwelle 2020-03-12 21:49:54 +01:00
commit 642e47bd03
7 changed files with 41 additions and 25 deletions

View file

@ -36,7 +36,7 @@ export function restoreFromLocalStorage() {
appState = JSON.parse(savedState) as AppState;
// If we're retrieving from local storage, we should not be collaborating
appState.isCollaborating = false;
appState.collaboratorCount = 0;
appState.collaborators = new Map();
} catch {
// Do nothing because appState is already null
}