mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 15:08:47 -07:00
refactor: Remove unused ToxMod voice component patch and related logging
This commit is contained in:
@@ -429,10 +429,6 @@ public class Mod : MelonMod
|
|||||||
args: Type.EmptyTypes,
|
args: Type.EmptyTypes,
|
||||||
prefix: nameof(ToxModPatches.CanInitializeToxMod_Prefix),
|
prefix: nameof(ToxModPatches.CanInitializeToxMod_Prefix),
|
||||||
logMiss: logMisses);
|
logMiss: logMisses);
|
||||||
complete &= TryPatchDiagnosticByName("ToxMod.ToxModVoiceComponent",
|
|
||||||
"PhotonVoiceCreated",
|
|
||||||
prefix: nameof(ToxModPatches.PhotonVoiceCreated_Prefix),
|
|
||||||
logMiss: logMisses);
|
|
||||||
_toxModPatchesComplete = complete;
|
_toxModPatchesComplete = complete;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3924,15 +3920,9 @@ internal static class ToxModPatches
|
|||||||
public static bool CanInitializeToxMod_Prefix(ref bool __result)
|
public static bool CanInitializeToxMod_Prefix(ref bool __result)
|
||||||
{
|
{
|
||||||
__result = false;
|
__result = false;
|
||||||
Mod.Log.Msg("[toxmod] disabled local ToxMod init");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool PhotonVoiceCreated_Prefix()
|
|
||||||
{
|
|
||||||
Mod.Log.Msg("[toxmod] skipped PhotonVoiceCreated");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static class TlsPatches
|
internal static class TlsPatches
|
||||||
|
|||||||
Reference in New Issue
Block a user