Fix speed text

This commit is contained in:
r.nikolin 2023-11-01 16:01:24 +03:00
parent 33d9781769
commit 680625ac8a
1 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,6 @@ public class SpeedText : UITextDisplayBase
protected override void Awake()
{
base.Awake();
_textChanger = FindObjectOfType<ShipPathFollower>();
_textChanger = FindObjectOfType<PlayerInputHandler>().GetComponent<ShipPathFollower>();
}
}