Skip to content

Commit

Permalink
holy shit i forgot to remove this piece of lag-causing shit code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Caeden117 committed Apr 15, 2019
1 parent 5d85a83 commit ead023e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Counters+/Counters/PBCounter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@ public void SetPersonalBest(float pb)
else _PbTrackerText.text = "PB: " + (Mathf.Clamp(pb, 0.0f, 1.0f) * 100.0f).ToString("F" + settings.DecimalPrecision) + "%";
}

void Update()
{
transform.position = Vector3.Lerp(
transform.position,
CountersController.determinePosition(gameObject, settings.Position, settings.Index),
Time.deltaTime);
}

public void UpdateScore(int score)
{
if (_maxPossibleScore != 0)
Expand Down

0 comments on commit ead023e

Please sign in to comment.