minor patch

This commit is contained in:
2023-11-18 15:28:44 +08:00
parent e6a8e00e0d
commit 8dcccfc9df
+7
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")]