Skip to content

Commit

Permalink
Bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
sfeichtenschlager committed Jun 19, 2024
1 parent 097ff8f commit 5126d8a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 5 additions & 5 deletions EcoHome-VR/Assets/Scenes/Linear - Main Scene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.12731713, g: 0.13414736, b: 0.12107852, a: 1}
m_IndirectSpecularColor: {r: 0.12731749, g: 0.13414757, b: 0.1210787, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
Expand Down Expand Up @@ -10119,8 +10119,8 @@ GameObject:
- component: {fileID: 1121143965}
- component: {fileID: 1121143964}
m_Layer: 0
m_Name: cLightSource_01
m_TagString: cLightSource
m_Name: unnamedLightSource
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
Expand Down Expand Up @@ -21386,8 +21386,8 @@ GameObject:
- component: {fileID: 1853134248}
- component: {fileID: 1853134247}
m_Layer: 0
m_Name: cLightSource_02
m_TagString: cLightSource
m_Name: unnamedLightSource
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
Expand Down
7 changes: 2 additions & 5 deletions EcoHome-VR/Assets/Scripts/MainMenuInteractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ public void StartTutorialMode()

public void BackToMenu()
{
if (this._asyncOperation == null)
{
Destroy(player);
this.StartCoroutine(this.LoadSceneAsyncProcess(sceneName: "Main Menu - Main Scene"));
}
Destroy(player);
SceneManager.LoadScene("Main Menu - Main Scene");
}
}

0 comments on commit 5126d8a

Please sign in to comment.