Skip to content

Commit

Permalink
Points counter, when left under the combo, clips into the base game f…
Browse files Browse the repository at this point in the history
…ull combo display
  • Loading branch information
Caeden117 committed Mar 17, 2019
1 parent e1f7255 commit 342bd53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Counters+/Counters/MissedCounter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ class MissedCounter : MonoBehaviour
void Awake()
{
settings = CountersController.settings.missedConfig;
if (transform.parent == null)
StartCoroutine(GetRequired());
else
Init();
StartCoroutine(GetRequired());
}

IEnumerator GetRequired()
Expand Down
2 changes: 1 addition & 1 deletion Counters+/Counters/ScoreCounter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private void Init()
if (settings.Mode == ICounterMode.LeavePoints || settings.Mode == ICounterMode.BaseWithOutPoints)
{
transform.Find("ScoreText").GetComponent<TextMeshProUGUI>().rectTransform.position = new Vector3(-3.2f,
0.35f + (settings.Mode == ICounterMode.LeavePoints ? 7.8f : 0), 7);
0.3f + (settings.Mode == ICounterMode.LeavePoints ? 7.8f : 0), 7);
}
}

Expand Down

0 comments on commit 342bd53

Please sign in to comment.