From 1dd28584240ba847a7348bb4f18493b6db401afe Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Tue, 26 Jan 2021 14:04:42 +0100 Subject: [PATCH] Fix feadback @Kharhamel --- front/src/Phaser/Game/GameScene.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index d1aa3fbb..8e089de7 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -1237,14 +1237,13 @@ export class GameScene extends ResizableScene implements CenterListener { } private bannedUser(){ + this.cleanupClosingScene(); + this.userInputManager.clearAllInputKeyboard(); this.scene.start(ErrorSceneName, { title: 'Banned', subTitle: 'You was banned of WorkAdventure', message: 'If you want more information, you can contact us: workadventure@thecodingmachine.com' }); - this.stopJitsi(); - coWebsiteManager.closeCoWebsite(); - this.userInputManager.clearAllInputKeyboard(); } }