mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
a
This commit is contained in:
1 parent
db3fcb5ccc
commit
1604c584dc
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user