Fix DNA splicer exploit

pull/347/head
Flashfyre 2024-04-27 15:52:21 -04:00
parent 51408a0c9d
commit 55f68c0ce6
1 changed files with 4 additions and 1 deletions

View File

@ -376,7 +376,10 @@ export default class SummaryUiHandler extends UiHandler {
success = true;
}
} else if (button === Button.CANCEL) {
ui.setMode(Mode.PARTY);
if (this.summaryUiMode === SummaryUiMode.LEARN_MOVE)
this.hideMoveSelect();
else
ui.setMode(Mode.PARTY);
success = true;
} else {
const pages = Utils.getEnumValues(Page);