diff --git a/project/SPT.SinglePlayer/Patches/MainMenu/DisableMatchmakerPlayerPreviewButtonsPatch.cs b/project/SPT.SinglePlayer/Patches/MainMenu/DisableMatchmakerPlayerPreviewButtonsPatch.cs
new file mode 100644
index 0000000..89da49b
--- /dev/null
+++ b/project/SPT.SinglePlayer/Patches/MainMenu/DisableMatchmakerPlayerPreviewButtonsPatch.cs
@@ -0,0 +1,23 @@
+using System.Reflection;
+using EFT.UI.Matchmaker;
+using HarmonyLib;
+using SPT.Reflection.Patching;
+
+namespace SPT.SinglePlayer.Patches.MainMenu
+{
+ public class DisableMatchmakerPlayerPreviewButtonsPatch : ModulePatch
+ {
+ protected override MethodBase GetTargetMethod()
+ {
+ return AccessTools.Method(typeof(MatchMakerPlayerPreview), nameof(MatchMakerPlayerPreview.Show));
+ }
+
+ [PatchPrefix]
+ private static void PatchPrefix(ref GClass3114 contextInteractions)
+ {
+ // clear with a null to stop "looking for group/create group" buttons
+ // they handle nulls so dont worry
+ contextInteractions = null;
+ }
+ }
+}
\ No newline at end of file
diff --git a/project/SPT.SinglePlayer/SPT.SinglePlayer.csproj b/project/SPT.SinglePlayer/SPT.SinglePlayer.csproj
index 4fb4a7d..3c1eeca 100644
--- a/project/SPT.SinglePlayer/SPT.SinglePlayer.csproj
+++ b/project/SPT.SinglePlayer/SPT.SinglePlayer.csproj
@@ -20,6 +20,7 @@
+
diff --git a/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs b/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs
index fb861c3..e7e3005 100644
--- a/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs
+++ b/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs
@@ -73,6 +73,7 @@ namespace SPT.SinglePlayer
new AmmoUsedCounterPatch().Enable();
new ArmorDamageCounterPatch().Enable();
new PVEModeWelcomeMessagePatch().Enable();
+ new DisableMatchmakerPlayerPreviewButtonsPatch().Enable();
}
catch (Exception ex)
{