1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 06:53:31 +08:00

minor patch

This commit is contained in:
2023-11-18 15:28:34 +08:00
parent e6a8e00e0d
commit 8dcccfc9df

View File

@@ -48,6 +48,13 @@ public class HideTips : BaseUnityPlugin
_patch?.UnpatchSelf(); _patch?.UnpatchSelf();
_patch = null; _patch = null;
} }
[HarmonyPrefix]
[HarmonyPatch(typeof(VFPreload), nameof(VFPreload.Start))]
private static void VFPreload_Start_Prefix(VFPreload __instance)
{
__instance.splashTime = -0.3f;
}
[HarmonyPostfix] [HarmonyPostfix]
[HarmonyPatch(typeof(UIBuildMenu), "_OnCreate")] [HarmonyPatch(typeof(UIBuildMenu), "_OnCreate")]