Skip to content

Commit

Permalink
Fix magic with restart after destroy main tower. Time scale was 0.0f.
Browse files Browse the repository at this point in the history
  • Loading branch information
BabichMikhail committed May 9, 2018
1 parent 21d33e9 commit 4bd88d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Resources/scripts/MainController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ private void Awake()
private void Start()
{
startedAt = Time.time;
Time.timeScale = 1.0f;

var routeContainer = Container.GetInstance().GetRouteContainer();
var collider = mainTower.GetComponentInChildren<Collider>();
Expand Down

0 comments on commit 4bd88d8

Please sign in to comment.