From b12fb228afc8a978f60f1289b5243a22b5989762 Mon Sep 17 00:00:00 2001 From: Hanusiak Piotr Date: Wed, 8 Dec 2021 13:25:54 +0100 Subject: [PATCH] fixed typos --- front/src/Api/Events/ChangeZoneEvent.ts | 2 +- front/src/Phaser/Game/GameScene.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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");