Suppression of gameManager in IframeListener
This commit is contained in:
parent
736ac19ed0
commit
151e63ff91
@ -34,7 +34,6 @@ import { SetTilesEvent, isSetTilesEvent } from "./Events/SetTilesEvent";
|
|||||||
import type { SetVariableEvent } from "./Events/SetVariableEvent";
|
import type { SetVariableEvent } from "./Events/SetVariableEvent";
|
||||||
import { ModifyEmbeddedWebsiteEvent, isEmbeddedWebsiteEvent } from "./Events/EmbeddedWebsiteEvent";
|
import { ModifyEmbeddedWebsiteEvent, isEmbeddedWebsiteEvent } from "./Events/EmbeddedWebsiteEvent";
|
||||||
import { EmbeddedWebsite } from "./iframe/Room/EmbeddedWebsite";
|
import { EmbeddedWebsite } from "./iframe/Room/EmbeddedWebsite";
|
||||||
import { gameManager } from "../Phaser/Game/GameManager";
|
|
||||||
|
|
||||||
type AnswererCallback<T extends keyof IframeQueryMap> = (
|
type AnswererCallback<T extends keyof IframeQueryMap> = (
|
||||||
query: IframeQueryMap[T]["query"],
|
query: IframeQueryMap[T]["query"],
|
||||||
@ -156,8 +155,6 @@ class IframeListener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//await gameManager.getCurrentGameScene()
|
|
||||||
|
|
||||||
foundSrc = this.getBaseUrl(foundSrc, message.source);
|
foundSrc = this.getBaseUrl(foundSrc, message.source);
|
||||||
|
|
||||||
if (isIframeQueryWrapper(payload)) {
|
if (isIframeQueryWrapper(payload)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user