Compare commits

...
1 Commits
Author SHA1 Message Date
Ape 6e1e0ed8bf v2.3.0h 2026-11-07 14:49:33 +01:00
2 changed files with 5 additions and 7 deletions

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)