mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
fixes
This commit is contained in:
1 parent
98465bc865
commit
528e7b19fd
2 files changed
+2
-2
No files matched your search
@@ -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))
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user