Fix Anti-Cheat false positive

This commit is contained in:
D1GQ committed 2024-07-27 21:48:25 -05:00
1 parent 139d9f0c7c
commit 013d81fbf5
1 file changed
+1 -1
+1 -1
View File
@@ -153,7 +153,7 @@ class AntiCheat
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)}");
return;