From ff55baa0c5f24b0e33ff20b61e1ad922965e85b0 Mon Sep 17 00:00:00 2001 From: Alexa <53471801+Alexa-RR@users.noreply.github.com> Date: Thu, 25 Jun 2026 10:56:45 +0300 Subject: [PATCH] refactor: Remove unused ToxMod voice component patch and related logging --- DorkNet.ClientMod/Mod.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/DorkNet.ClientMod/Mod.cs b/DorkNet.ClientMod/Mod.cs index 44b42e1..df00d0e 100644 --- a/DorkNet.ClientMod/Mod.cs +++ b/DorkNet.ClientMod/Mod.cs @@ -429,10 +429,6 @@ public class Mod : MelonMod args: Type.EmptyTypes, prefix: nameof(ToxModPatches.CanInitializeToxMod_Prefix), logMiss: logMisses); - complete &= TryPatchDiagnosticByName("ToxMod.ToxModVoiceComponent", - "PhotonVoiceCreated", - prefix: nameof(ToxModPatches.PhotonVoiceCreated_Prefix), - logMiss: logMisses); _toxModPatchesComplete = complete; } @@ -3924,15 +3920,9 @@ internal static class ToxModPatches public static bool CanInitializeToxMod_Prefix(ref bool __result) { __result = false; - Mod.Log.Msg("[toxmod] disabled local ToxMod init"); return false; } - public static bool PhotonVoiceCreated_Prefix() - { - Mod.Log.Msg("[toxmod] skipped PhotonVoiceCreated"); - return false; - } } internal static class TlsPatches