Fixed variable name.

This commit is contained in:
frutescens 2024-11-11 16:36:24 -08:00
parent 9670380c5c
commit c35e63595b

View File

@ -94,7 +94,7 @@ export default class TargetSelectUiHandler extends UiHandler {
this.cursor0 = this.cursor; this.cursor0 = this.cursor;
} }
} else if (this.fieldIndex === BattlerIndex.PLAYER_2) { } 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; this.cursor1 = this.cursor;
} }
} }