mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-30 09:32:28 +00:00
feat: retreat stops attack + show when ennemy retreats (#209)
This commit is contained in:
@@ -185,6 +185,10 @@ export class AttackExecution implements Execution {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.attack.retreating()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.attack.isActive()) {
|
||||
this.active = false;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user