Skip to content

Commit

Permalink
fixed project was not reopened when editor restarted
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapim committed Apr 30, 2020
1 parent 9f3e751 commit bd4e426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arcor2_AREditor/Assets/BASE/Scripts/GameManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ private async void OnConnectionStatusChanged(ConnectionStatusEnum newState) {
return;
}
if (newScene != null) {
SceneUpdated(newScene);
await SceneUpdated(newScene);
}
if (!sceneReady && CurrentProject == null) {
await OpenMainScreen();
Expand All @@ -223,7 +223,7 @@ private async void OnConnectionStatusChanged(ConnectionStatusEnum newState) {
CurrentProject = null;
loadedScene = "";
ProjectUpdated(null);
SceneUpdated(null);
await SceneUpdated(null);
Scene.Instance.gameObject.SetActive(false);
Init();
break;
Expand Down

0 comments on commit bd4e426

Please sign in to comment.