Skip to content

Commit

Permalink
comment out immediate control release
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalet committed Sep 16, 2017
1 parent e5cafd0 commit 81a39e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 140-speedrun-timer/LevelObject/PlayerControlOverride.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ void OnDestroy()

public void HoldUntilBeat(params int[] beatIds)
{
/*
var timeSinceBeat = Time.time - _lastBeatTime;
if (timeSinceBeat <= 0.02 && beatIds.Contains(_currentBeatId))
{
Debug.Log("PlayerControlOverride: Released control immediately");
Released?.Invoke();
return;
}
*/

this.enabled = true;

Expand Down

0 comments on commit 81a39e0

Please sign in to comment.