Skip to content

Commit 0c455fc

Browse files
Skip splash intro
1 parent e82186a commit 0c455fc

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

AuthFix/AuthPlugin.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,19 @@ public static bool Prefix()
172172
}
173173
}
174174

175+
[HarmonyPatch(typeof(SplashManager), nameof(SplashManager.Update))]
176+
public static class SkipIntroPatch
177+
{
178+
public static void Prefix(SplashManager __instance)
179+
{
180+
if (__instance.doneLoadingRefdata && !__instance.startedSceneLoad)
181+
{
182+
__instance.sceneChanger.AllowFinishLoadingScene();
183+
__instance.startedSceneLoad = true;
184+
}
185+
}
186+
}
187+
175188
[HarmonyPatch(typeof(ServerDropdown), nameof(ServerDropdown.FillServerOptions))]
176189
public static class ServerDropdownPatch
177190
{

0 commit comments

Comments
 (0)