Skip to content

Commit

Permalink
Do not apply camera lock fix in vanilla maps
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalobi committed Apr 30, 2024
1 parent 5198e44 commit bf5b48b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Celeste.Mod.mm/Patches/Level.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,10 @@ private IEnumerator TransitionRoutine(LevelData next, Vector2 direction) {

Pause();
}

CameraUpwardMaxY = Camera.Y + 180f; // prevent badeline orb camera lock data persisting through screen transitions

if (Session.Area.GetLevelSet() != "Celeste") {
CameraUpwardMaxY = Camera.Y + 180f; // prevent badeline orb camera lock data persisting through screen transitions
}
} catch (Exception e) {
if (patch_LevelEnter.ErrorMessage == null) {
if (e is ArgumentOutOfRangeException && e.MethodInStacktrace(typeof(Level), "get_DefaultSpawnPoint")) {
Expand Down

0 comments on commit bf5b48b

Please sign in to comment.