first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#if DEBUG
|
||||
using System.Reflection;
|
||||
using NitroxModel.Helper;
|
||||
|
||||
namespace NitroxPatcher.Patches.Persistent;
|
||||
|
||||
internal sealed partial class StartScreen_TryToShowDisclaimer_Patch : NitroxPatch, IPersistentPatch
|
||||
{
|
||||
private static readonly MethodInfo TARGET_METHOD = Reflect.Method((StartScreen t) => t.TryToShowDisclaimer());
|
||||
|
||||
/// <summary>
|
||||
/// Speed up startup in development by skipping disclaimer screen.
|
||||
/// </summary>
|
||||
public static bool Prefix() => false;
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user