This commit is contained in:
Ape committed 2026-11-07 14:49:33 +01:00
1 parent d86aa2343a
commit 6e1e0ed8bf
2 files changed
+5 -7

No files matched your search

-7
View File
@@ -197,13 +197,6 @@ class FixedUpdateInGamePatch
LastColors[__instance.PlayerId] = color;
}
}
if (Utils.InGame)
{
if (__instance.cosmetics.nameText.text != __instance.Data.PlayerName)
{
__instance.cosmetics.nameText.text = __instance.Data.PlayerName;
}
}
if (!AmongUsClient.Instance.AmHost) return;
+5
View File
@@ -19,6 +19,11 @@ internal static class CoShowIntroPatch
foreach (var p in PlayerControl.AllPlayerControls)
{
if (p.cosmetics.nameText.text != p.Data.PlayerName)
{
p.cosmetics.nameText.text = p.Data.PlayerName;
}
p.protectedByGuardianId = -1;
if (NormalGameEndChecker.firstDeath != null && NormalGameEndChecker.firstDeath == p.Data.PlayerName && Options.ShieldFirstDeath.GetBool() && Options.Gamemode.GetValue() != 1)