fixed typos

This commit is contained in:
Hanusiak Piotr 2021-12-08 13:25:54 +01:00
parent 4d473480cf
commit b12fb228af
2 changed files with 1 additions and 2 deletions

View File

@ -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<typeof isChangeZoneEvent>;

View File

@ -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");