Fixed bugs revolving around the pause menu, retry button and waypoint spawn counting

This commit is contained in:
Gregory Campbell
2020-02-04 22:33:20 -05:00
parent 2df87b44a5
commit 21e6914de2
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -250,16 +250,19 @@ public class PauseMenu : MonoBehaviour
if(FloorLevel.gameOver == true)
{
FloorLevel.gameOver = false;
SceneManager.LoadScene("Floor Level", LoadSceneMode.Single);
}
if(WaypointRace.gameOver == true)
{
WaypointRace.gameOver = false;
SceneManager.LoadScene("Waypoint Race", LoadSceneMode.Single);
}
if(InfinityRunner.gameOver == true)
{
InfinityRunner.gameOver = false;
SceneManager.LoadScene("Infinity Runner", LoadSceneMode.Single);
}