Skip to content

Commit

Permalink
Add extra logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ManlyMarco committed Jan 7, 2021
1 parent 933794f commit 663cff9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/KK_Autostart/KK_AutostartPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ private static bool DisableLogo(LogoScene __instance, ref IEnumerator __result)
{
IEnumerator LoadTitle()
{
Logger.LogInfo("Skipping intro and entering maker");

// Keep the splash screen to hide title menu and loading screens flashing by during load
var logoC = __instance.GetComponentInChildren<Canvas>();
var logoCg = logoC.GetOrAddComponent<CanvasGroup>();
Expand Down
1 change: 1 addition & 0 deletions src/KK_IntroBegone/KK_IntroBegonePlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ private static bool DisableLogo(ref IEnumerator __result)
{
IEnumerator LoadTitle()
{
Logger.LogInfo("Skipping intro");
Singleton<Scene>.Instance.LoadReserve(new Scene.Data
{
levelName = "Title",
Expand Down

0 comments on commit 663cff9

Please sign in to comment.