From c35e63595beec4e3d6c94316662247acdbf162d5 Mon Sep 17 00:00:00 2001 From: frutescens Date: Mon, 11 Nov 2024 16:36:24 -0800 Subject: [PATCH] Fixed variable name. --- src/ui/target-select-ui-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/target-select-ui-handler.ts b/src/ui/target-select-ui-handler.ts index 38cb4a076aa..be3c763dcf7 100644 --- a/src/ui/target-select-ui-handler.ts +++ b/src/ui/target-select-ui-handler.ts @@ -94,7 +94,7 @@ export default class TargetSelectUiHandler extends UiHandler { this.cursor0 = this.cursor; } } else if (this.fieldIndex === BattlerIndex.PLAYER_2) { - if (Utils.isNullOrUndefined(this.cursor0) || this.cursor1 !== this.cursor) { + if (Utils.isNullOrUndefined(this.cursor1) || this.cursor1 !== this.cursor) { this.cursor1 = this.cursor; } }