This commit is contained in:
Gurge44 committed 2025-09-11 10:11:28 +02:00
1 parent e9b25eca94
commit 0ba4b9bf50
1 file changed
+4 -1
+4 -1
View File
@@ -1348,6 +1348,9 @@ internal static class ReportDeadBodyPatch
if (Main.CurrentMap == MapNames.Fungle && (pc.IsMushroomMixupActive() || IsActive(SystemTypes.MushroomMixupSabotage)))
pc.FixMixedUpOutfit();
if (Main.Invisible.Contains(pc.PlayerId))
pc.RpcMakeVisible();
PhantomRolePatch.OnReportDeadBody(pc);
}
@@ -2108,7 +2111,7 @@ internal static class PlayerStartPatch
TextMeshPro nameText = __instance.__4__this.cosmetics.nameText;
TextMeshPro roleText = Object.Instantiate(nameText, nameText.transform, true);
bool largerFontSize = Options.LargerRoleTextSize.GetBool();
roleText.transform.localPosition = new(0f, largerFontSize ? 0.4f : 0.2f, 0f);
roleText.transform.localPosition = new(0f, largerFontSize ? 0.35f : 0.2f, 0f);
if (!largerFontSize) roleText.fontSize -= 0.9f;
roleText.text = "RoleText";
roleText.gameObject.name = "RoleText";