From 151e63ff91e3d089263ec464c6ba8cd39c36d0de Mon Sep 17 00:00:00 2001 From: GRL Date: Mon, 16 Aug 2021 11:56:00 +0200 Subject: [PATCH] Suppression of gameManager in IframeListener --- front/src/Api/IframeListener.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/front/src/Api/IframeListener.ts b/front/src/Api/IframeListener.ts index 7bf4e2f7..4dde1b7d 100644 --- a/front/src/Api/IframeListener.ts +++ b/front/src/Api/IframeListener.ts @@ -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 = ( query: IframeQueryMap[T]["query"], @@ -156,8 +155,6 @@ class IframeListener { return; } - //await gameManager.getCurrentGameScene() - foundSrc = this.getBaseUrl(foundSrc, message.source); if (isIframeQueryWrapper(payload)) {