We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 040766d commit 48b8d18Copy full SHA for 48b8d18
src/core/GameRunner.ts
@@ -201,7 +201,7 @@ export class GameRunner {
201
const tile =
202
x !== undefined && y !== undefined ? this.game.ref(x, y) : null;
203
const actions = {
204
- canAttack: tile !== null && units === undefined && player.canAttack(tile),
+ canAttack: tile !== null && player.canAttack(tile),
205
buildableUnits: player.buildableUnits(tile, units),
206
canSendEmojiAllPlayers: player.canSendEmoji(AllPlayers),
207
canEmbargoAll: player.canEmbargoAll(),
0 commit comments