turn off directed expansion because its not workign right

This commit is contained in:
evanpelle
2024-08-14 19:59:55 -07:00
parent f17d1d9816
commit 88aac34d7e
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -25,6 +25,9 @@ export class AttackExecution implements Execution {
init(mg: MutableGame, ticks: number) {
// TODO: remove this and fix directed expansion.
this.targetCell = null
this._owner = mg.player(this._ownerID)
this.target = this.targetID == null ? mg.terraNullius() : mg.player(this.targetID)
this.troops = Math.min(this._owner.troops(), this.troops)