This commit is contained in:
D1GQ committed 2024-07-29 18:41:50 -05:00
1 parent 98465bc865
commit 528e7b19fd
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ class ChatPatch
if (((sourcePlayer == PlayerControl.LocalPlayer && GameStates.IsHost && Main.BetterHost.Value) || sourcePlayer.GetIsBetterHost() == true) && !GameStates.IsInGamePlay)
sbTag.Append("<color=#0dff00>Better Host</color>+++");
if ((sourcePlayer == PlayerControl.LocalPlayer || sourcePlayer.GetIsBetterUser() == true) && !GameStates.IsInGamePlay)
else if ((sourcePlayer == PlayerControl.LocalPlayer || sourcePlayer.GetIsBetterUser() == true) && !GameStates.IsInGamePlay)
sbTag.Append("<color=#0dff00>Better User</color>+++");
if (!string.IsNullOrEmpty(hashPuid) && AntiCheat.SickoData.ContainsKey(hashPuid) || !string.IsNullOrEmpty(friendCode) && AntiCheat.SickoData.ContainsValue(friendCode))
+1 -1
View File
@@ -45,7 +45,7 @@ public static class OptionsMenuBehaviourPatch
{
MessageWriter messageWriter = AmongUsClient.Instance.StartRpcImmediately(PlayerControl.LocalPlayer.NetId, unchecked((byte)CustomRPC.BetterCheck), SendOption.None, -1);
messageWriter.Write((byte)PlayerControl.LocalPlayer.NetId);
messageWriter.Write(false);
messageWriter.Write(Main.BetterHost.Value);
AmongUsClient.Instance.FinishRpcImmediately(messageWriter);
RPC.SyncAllNames(force: true);