This commit is contained in:
Gurge44 committed 2025-06-10 21:13:23 +02:00
1 parent db3fcb5ccc
commit 1604c584dc
1 file changed
+1 -1
+1 -1
View File
@@ -1924,7 +1924,7 @@ internal static class PlayerStartPatch
{
try
{
if (__result || __instance.__4__this.PlayerId >= 254) return;
if (__result || __instance == null || __instance.__4__this == null || __instance.__4__this.PlayerId >= 254 || __instance.__4__this.cosmetics == null) return;
TextMeshPro nameText = __instance.__4__this.cosmetics.nameText;
TextMeshPro roleText = Object.Instantiate(nameText, nameText.transform, true);
bool largerFontSize = Options.LargerRoleTextSize.GetBool();