Skip to content

Commit

Permalink
Merge pull request #107 from Kapim/master
Browse files Browse the repository at this point in the history
fixed project was not reopened when editor restarted
  • Loading branch information
Kapim authored Apr 30, 2020
2 parents 9f3e751 + bd4e426 commit 7c96736
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 7c96736

Please sign in to comment.