Bug Fix - Loading Wrong Scene

This commit is contained in:
Philip W 2021-10-31 02:08:14 +00:00
parent ad9c9beee3
commit fc656877f9
2 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<resetOnSceneChange>false</resetOnSceneChange> <resetOnSceneChange>false</resetOnSceneChange>
<debugMode>false</debugMode> <debugMode>false</debugMode>
<EditorClosed>true</EditorClosed> <EditorClosed>true</EditorClosed>
<LastTimestamp>1635650891</LastTimestamp> <LastTimestamp>1635651788</LastTimestamp>
<LastSessionID>5210629905376156001</LastSessionID> <LastSessionID>5210629905376156001</LastSessionID>
<Errored>false</Errored> <Errored>false</Errored>
</ERPSettings> </ERPSettings>

View File

@ -7,8 +7,7 @@ public class MainMenuHandler : MonoBehaviour
{ {
public static void StartGame() public static void StartGame()
{ {
//Loads the second scene in the hierarchy SceneManager.LoadScene("Defender");
SceneManager.LoadScene(1);
} }
public static void ExitGame() public static void ExitGame()