Bug Fix - Loading Wrong Scene
This commit is contained in:
		
							parent
							
								
									ad9c9beee3
								
							
						
					
					
						commit
						fc656877f9
					
				@ -5,7 +5,7 @@
 | 
			
		||||
  <resetOnSceneChange>false</resetOnSceneChange>
 | 
			
		||||
  <debugMode>false</debugMode>
 | 
			
		||||
  <EditorClosed>true</EditorClosed>
 | 
			
		||||
  <LastTimestamp>1635650891</LastTimestamp>
 | 
			
		||||
  <LastTimestamp>1635651788</LastTimestamp>
 | 
			
		||||
  <LastSessionID>5210629905376156001</LastSessionID>
 | 
			
		||||
  <Errored>false</Errored>
 | 
			
		||||
</ERPSettings>
 | 
			
		||||
@ -7,8 +7,7 @@ public class MainMenuHandler : MonoBehaviour
 | 
			
		||||
{
 | 
			
		||||
    public static void StartGame()
 | 
			
		||||
    {
 | 
			
		||||
        //Loads the second scene in the hierarchy
 | 
			
		||||
        SceneManager.LoadScene(1);
 | 
			
		||||
        SceneManager.LoadScene("Defender");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static void ExitGame()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user