fixed broken retreat

This commit is contained in:
1brucben
2025-04-20 19:29:45 +02:00
parent b93e84c5ba
commit df9329f0f7
+5 -1
View File
@@ -208,7 +208,11 @@ export class AttackExecution implements Execution {
return;
}
if (this.attack.retreating() || !this.attack.isActive()) {
if (this.attack.retreating()) {
return; // Keep waiting for retreat flag to become "retreated"
}
if (!this.attack.isActive()) {
this.active = false;
return;
}