diff --git a/front/src/Api/Events/ChangeZoneEvent.ts b/front/src/Api/Events/ChangeZoneEvent.ts index d88e9a09..e7ca3668 100644 --- a/front/src/Api/Events/ChangeZoneEvent.ts +++ b/front/src/Api/Events/ChangeZoneEvent.ts @@ -6,6 +6,6 @@ export const isChangeZoneEvent = new tg.IsInterface() }) .get(); /** - * A message sent from the game to the iFrame when a user enters or leaves a layer. + * A message sent from the game to the iFrame when a user enters or leaves a zone. */ export type ChangeZoneEvent = tg.GuardedType; diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index 39ed5467..8635b25b 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -788,7 +788,6 @@ export class GameScene extends DirtyScene { }); }); - // P.H. TODO: Send those events to the iframe? this.gameMap.onEnterZone((zones) => { for (const zone of zones) { const focusable = zone.properties?.find((property) => property.name === "focusable");