terrain affects attack

This commit is contained in:
evanpelle
2024-08-31 12:57:44 -07:00
parent 39464f1d05
commit 4de9bb9e18
3 changed files with 15 additions and 12 deletions
-1
View File
@@ -95,7 +95,6 @@ export class TerritoryRenderer {
this.imageData.data[offset + 3] = 0; // Set alpha to 0 (fully transparent)
}
tileUpdate(event: TileEvent) {
this.tileToRenderQueue.push({tileEvent: event, lastUpdate: this.game.ticks() + this.random.nextFloat(0, .5)})
}