Skip to content

Commit

Permalink
Fix quickloading from opening menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyoshi committed Feb 22, 2023
1 parent 0d05222 commit 44fdf50
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions QuickSaveData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,15 @@ public void QuickLoad()
PT2.sound_g.ForceStopOcarina();
PT2.director.CloseAllDialoguers();
PT2.gale_interacter.NoInteractionsCurrently();

// From opening menu
if (LevelBuildLogic.level_name == "game_start")
{
PT2.coming_from_opening_menu = true;
PT2.sound_g.AdjustMusicVolume(null, 0f, 0.5f, false, true);
PT2.director.current_opening_menu.GameStart(); // Is this ok?
PT2.director.current_opening_menu = null;
}

// From death
PT2.screen_covers.CancelBlackBars();
Expand Down

0 comments on commit 44fdf50

Please sign in to comment.