mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
Fix Anti-Cheat false positive
This commit is contained in:
1 parent
139d9f0c7c
commit
013d81fbf5
1 file changed
+1
-1
@@ -153,7 +153,7 @@ class AntiCheat
|
|||||||
|
|
||||||
if (callId is (byte)RpcCalls.SendChat or (byte)RpcCalls.SendQuickChat)
|
if (callId is (byte)RpcCalls.SendChat or (byte)RpcCalls.SendQuickChat)
|
||||||
{
|
{
|
||||||
if (player.IsAlive() && GameStates.InGame && !GameStates.IsLobby && !GameStates.IsMeeting && !GameStates.IsExilling && GameStates.IsInTask)
|
if (player.IsAlive() && GameStates.IsInGamePlay && !GameStates.IsMeeting && !GameStates.IsExilling)
|
||||||
BAUNotificationManager.NotifyCheat(player, $"Invalid Action RPC: {Enum.GetName((RpcCalls)callId)}");
|
BAUNotificationManager.NotifyCheat(player, $"Invalid Action RPC: {Enum.GetName((RpcCalls)callId)}");
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user