Skip to content

Commit

Permalink
Fix the issue of loading level from map search UI softlocks the game
Browse files Browse the repository at this point in the history
  • Loading branch information
DemoJameson committed Nov 30, 2021
1 parent 03f1a29 commit 8cb5b5e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Celeste.Mod.mm/Mod/UI/OuiMapSearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,11 @@ public override void Render() {
base.Render();
}

public override void SceneEnd(Scene scene) {
TextInput.OnInput -= OnTextInput;
MInput.Disabled = false;
}

protected void Inspect(AreaData area, AreaMode mode = AreaMode.Normal) {
Focused = false;
Audio.Play(SFX.ui_world_icon_select);
Expand Down Expand Up @@ -606,4 +611,4 @@ private IEnumerator StartRoutine(AreaData area, AreaMode mode = AreaMode.Normal,
}

}
}
}

0 comments on commit 8cb5b5e

Please sign in to comment.