Update PlayerBox.cs

This commit is contained in:
_nebula 2023-05-11 23:59:45 +01:00
parent af5d148c15
commit 6c68bd97e0

View File

@ -28,7 +28,9 @@ public class PlayerBox : MonoBehaviour
if (player.Name != null)
{
PlayerName.text = player.Name.ToUpper();
Delay.RunWhen(
() => player.Name != null,
() => PlayerName.text = player.Name.ToUpper());
}
InfoImage.sprite = MultiplayerHUDManager.UnknownSprite;