diff --git a/IPA.Injector/IPA.Injector.csproj b/IPA.Injector/IPA.Injector.csproj
index d44d4cd5..ce6b687c 100644
--- a/IPA.Injector/IPA.Injector.csproj
+++ b/IPA.Injector/IPA.Injector.csproj
@@ -4,6 +4,7 @@
Debug
Net4
+ true
{2A1AF16B-27F1-46E0-9A95-181516BC1CB7}
Library
Properties
@@ -42,6 +43,9 @@
v3.5
$(DefineConstants);NET3
+
+ $(DefineConstants);BeatSaber
+
diff --git a/IPA.Injector/Injector.cs b/IPA.Injector/Injector.cs
index c7c554fd..ca383d5e 100644
--- a/IPA.Injector/Injector.cs
+++ b/IPA.Injector/Injector.cs
@@ -264,6 +264,7 @@ namespace IPA.Injector
injector.Error(e);
}
+#if BeatSaber
if (isFirst)
{
try
@@ -292,6 +293,7 @@ namespace IPA.Injector
injector.Warn(e);
}
}
+#endif
}
#endregion
}