log cell clicked

This commit is contained in:
evanpelle
2024-10-03 06:41:18 -07:00
parent 5d1e1073ee
commit b35e78f2f8
3 changed files with 5 additions and 6 deletions
+1
View File
@@ -145,6 +145,7 @@ export class ClientGame {
if (!this.gs.isOnMap(cell)) {
return
}
console.log(`clicked cell ${cell}`)
const tile = this.gs.tile(cell)
if (tile.isLand() && !tile.hasOwner() && this.gs.inSpawnPhase()) {
this.eventBus.emit(new SendSpawnIntentEvent(cell))