Fix feadback @Kharhamel

This commit is contained in:
Gregoire Parant 2021-01-26 14:04:42 +01:00
parent c6903cc4c5
commit 1dd2858424

View File

@ -1237,14 +1237,13 @@ export class GameScene extends ResizableScene implements CenterListener {
} }
private bannedUser(){ private bannedUser(){
this.cleanupClosingScene();
this.userInputManager.clearAllInputKeyboard();
this.scene.start(ErrorSceneName, { this.scene.start(ErrorSceneName, {
title: 'Banned', title: 'Banned',
subTitle: 'You was banned of WorkAdventure', subTitle: 'You was banned of WorkAdventure',
message: 'If you want more information, you can contact us: workadventure@thecodingmachine.com' message: 'If you want more information, you can contact us: workadventure@thecodingmachine.com'
}); });
this.stopJitsi();
coWebsiteManager.closeCoWebsite();
this.userInputManager.clearAllInputKeyboard();
} }
} }