Skip to content

Commit bf5b48b

Browse files
committed
Do not apply camera lock fix in vanilla maps
1 parent 5198e44 commit bf5b48b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Celeste.Mod.mm/Patches/Level.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,10 @@ private IEnumerator TransitionRoutine(LevelData next, Vector2 direction) {
268268

269269
Pause();
270270
}
271-
272-
CameraUpwardMaxY = Camera.Y + 180f; // prevent badeline orb camera lock data persisting through screen transitions
271+
272+
if (Session.Area.GetLevelSet() != "Celeste") {
273+
CameraUpwardMaxY = Camera.Y + 180f; // prevent badeline orb camera lock data persisting through screen transitions
274+
}
273275
} catch (Exception e) {
274276
if (patch_LevelEnter.ErrorMessage == null) {
275277
if (e is ArgumentOutOfRangeException && e.MethodInStacktrace(typeof(Level), "get_DefaultSpawnPoint")) {

0 commit comments

Comments
 (0)