diff --git a/src/client/InputHandler.ts b/src/client/InputHandler.ts index 03b6ae563..59f2d86fc 100644 --- a/src/client/InputHandler.ts +++ b/src/client/InputHandler.ts @@ -516,6 +516,12 @@ export class InputHandler { x: worldCoords.x, y: worldCoords.y, }); + console.log( + "Emitting PingPlacedEvent with type:", + this.uiState.currentPingType, + "at world coordinates:", + worldCoords, + ); this.eventBus.emit( new PingPlacedEvent( this.uiState.currentPingType, diff --git a/src/client/graphics/layers/FxLayer.ts b/src/client/graphics/layers/FxLayer.ts index a1573da48..48856b109 100644 --- a/src/client/graphics/layers/FxLayer.ts +++ b/src/client/graphics/layers/FxLayer.ts @@ -370,7 +370,7 @@ export class FxLayer implements Layer { this.pingEventCleanup = this.eventBus.on( PingPlacedEvent, (event: PingPlacedEvent) => { - console.log("received PingPlacedEvent", event); + console.log("received PingPlacedEvent in FxLayer", event); const pingFx = new PingFx(this.game, event.type, event.tile); this.allFx.push(pingFx); },