fixed typos
This commit is contained in:
parent
4d473480cf
commit
b12fb228af
2 changed files with 1 additions and 2 deletions
|
@ -6,6 +6,6 @@ export const isChangeZoneEvent = new tg.IsInterface()
|
||||||
})
|
})
|
||||||
.get();
|
.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>;
|
export type ChangeZoneEvent = tg.GuardedType<typeof isChangeZoneEvent>;
|
||||||
|
|
|
@ -788,7 +788,6 @@ export class GameScene extends DirtyScene {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// P.H. TODO: Send those events to the iframe?
|
|
||||||
this.gameMap.onEnterZone((zones) => {
|
this.gameMap.onEnterZone((zones) => {
|
||||||
for (const zone of zones) {
|
for (const zone of zones) {
|
||||||
const focusable = zone.properties?.find((property) => property.name === "focusable");
|
const focusable = zone.properties?.find((property) => property.name === "focusable");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue