Skip to content

Commit 7a580b8

Browse files
committed
Fix menu stack getting popped too many times on opening the mod manager help menu
Fixes #22
1 parent 9c9ba8a commit 7a580b8

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
- Fix game freeze when inputting large nonsense repository url
2828
- Fix focus highlight of `INPUT_FIELD` without validation being shorter than the input field
2929
- Fixed `INPUT_FIELD`, `BUTTON` and `INFO` mod option types eating their header
30+
- Fix menu stack getting popped too many times on opening the mod manager help menu resulting in the game being stuck in the mod manager menu
3031

3132
## [1.0.4] 2025-06-26
3233

src/gui/menu.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,6 @@ modmanager.gui.Menu = (sc.ListInfoMenu ?? sc.SortableListMenu).extend({
519519
Lang.help.pages,
520520
() => {
521521
this.showMenu()
522-
sc.menu.popBackCallback()
523-
sc.menu.popBackCallback()
524522
},
525523
true
526524
)

0 commit comments

Comments
 (0)