#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()); /// /// Speed up startup in development by skipping disclaimer screen. /// public static bool Prefix() => false; } #endif