Skip to content

Commit

Permalink
Fix OOBE skip in headless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
psyGamer committed Feb 2, 2025
1 parent bb97138 commit ce3b481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Celeste.Mod.mm/Patches/OuiTitleScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void ctor() {

public extern bool orig_IsStart(Overworld overworld, Overworld.StartMode start);
public override bool IsStart(Overworld overworld, Overworld.StartMode start) {
if (CoreModule.Settings.CurrentVersion == null && !overworld.IsCurrent<OuiOOBE>())
if (CoreModule.Settings.CurrentVersion == null && !overworld.IsCurrent<OuiOOBE>() && !Everest.Flags.IsHeadless)
start = Overworld.StartMode.MainMenu;
return orig_IsStart(overworld, start);
}
Expand Down

0 comments on commit ce3b481

Please sign in to comment.