Skip to content

Commit

Permalink
Fixed a glitch in the prologue cutscene
Browse files Browse the repository at this point in the history
  • Loading branch information
Paloys committed Nov 6, 2023
1 parent ef58636 commit 36188e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GoldenTrainer/GoldenTrainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ private void RespawnInRoomWithBerry(ILContext il)
private void AutoSkipCutscene(On.Celeste.Level.orig_Update orig, Level self)
{
orig(self);
if (!self.InCutscene || self.SkippingCutscene || !Settings.SkipCutscenesAutomatically || self.Transitioning) return;
if (!self.InCutscene || self.SkippingCutscene || !Settings.SkipCutscenesAutomatically || self.Transitioning || !self.CanPause) return;
self.SkipCutscene();
}
}
Expand Down

0 comments on commit 36188e9

Please sign in to comment.