Bug Fix - Loading Wrong Scene
This commit is contained in:
		
							parent
							
								
									ad9c9beee3
								
							
						
					
					
						commit
						fc656877f9
					
				| @ -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> | ||||||
| @ -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() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user