From c8410a811a6247a8122dd982bf3646db9cf29233 Mon Sep 17 00:00:00 2001 From: D1GQ Date: Sat, 29 Aug 2026 12:17:51 -0500 Subject: [PATCH] Only add chat messages to private logs --- src/Patches/Gameplay/UI/Chat/ChatPatch.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Patches/Gameplay/UI/Chat/ChatPatch.cs b/src/Patches/Gameplay/UI/Chat/ChatPatch.cs index ecfec92..713a1fa 100644 --- a/src/Patches/Gameplay/UI/Chat/ChatPatch.cs +++ b/src/Patches/Gameplay/UI/Chat/ChatPatch.cs @@ -217,14 +217,7 @@ internal static class ChatPatch private static void ChatController_AddChat_Postfix(ChatController __instance, PlayerControl sourcePlayer, string chatText) { // Log chat publicly if player is alive, privately if dead - if (sourcePlayer.IsAlive() || !PlayerControl.LocalPlayer.IsAlive()) - { - Logger_.Log($"{sourcePlayer.Data.PlayerName} -> {chatText}", "ChatLog"); - } - else - { - Logger_.LogPrivate($"{sourcePlayer.Data.PlayerName} -> {chatText}", "ChatLog"); - } + Logger_.LogPrivate($"{sourcePlayer.Data.PlayerName} -> {chatText}", "ChatLog"); } [HarmonyPatch(typeof(ChatController), nameof(ChatController.SetChatBubbleName))]