mirror of
https://github.com/ApeMV/AmongUsRevamped.git
synced 2026-11-19 23:16:52 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e1e0ed8bf |
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user