From 6c68bd97e00588556f4366a5c0ea6c514831f7ce Mon Sep 17 00:00:00 2001 From: _nebula <41904486+misternebula@users.noreply.github.com> Date: Thu, 11 May 2023 23:59:45 +0100 Subject: [PATCH] Update PlayerBox.cs --- QSB/HUD/PlayerBox.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/QSB/HUD/PlayerBox.cs b/QSB/HUD/PlayerBox.cs index e634df53..3a59e16f 100644 --- a/QSB/HUD/PlayerBox.cs +++ b/QSB/HUD/PlayerBox.cs @@ -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;