Suppression of gameManager in IframeListener

This commit is contained in:
GRL 2021-08-16 11:56:00 +02:00
parent 736ac19ed0
commit 151e63ff91

View File

@ -34,7 +34,6 @@ import { SetTilesEvent, isSetTilesEvent } from "./Events/SetTilesEvent";
import type { SetVariableEvent } from "./Events/SetVariableEvent";
import { ModifyEmbeddedWebsiteEvent, isEmbeddedWebsiteEvent } from "./Events/EmbeddedWebsiteEvent";
import { EmbeddedWebsite } from "./iframe/Room/EmbeddedWebsite";
import { gameManager } from "../Phaser/Game/GameManager";
type AnswererCallback<T extends keyof IframeQueryMap> = (
query: IframeQueryMap[T]["query"],
@ -156,8 +155,6 @@ class IframeListener {
return;
}
//await gameManager.getCurrentGameScene()
foundSrc = this.getBaseUrl(foundSrc, message.source);
if (isIframeQueryWrapper(payload)) {