Fix issues with targeting

This commit is contained in:
Flashfyre committed 2023-05-31 15:04:03 -04:00
1 parent 47fd9985c8
commit ac9814e665
3 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -570,7 +570,7 @@ export class SwitchSummonPhase extends SummonPhase {
}
preSummon(): void {
if (!this.doReturn || !this.scene.getParty()[this.slotIndex]) {
if (!this.doReturn || (this.slotIndex !== -1 && !this.scene.getParty()[this.slotIndex])) {
this.switchAndSummon();
return;
}