[Bug] Fixed issue where menu can't be opened up after a trainer battle (#3932)

This commit is contained in:
Opaque02 2024-08-31 14:53:15 +10:00 committed by GitHub
parent 3a50925de0
commit ce0ba3fbf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,9 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler {
}
show(args: any[]): boolean {
this.scene.disableMenu = false;
if (this.active) {
if (args.length >= 3) {
this.awaitingActionInput = true;