fixed typing in chat still causes character to move (#965)

This commit is contained in:
jonnytest1 2021-05-03 20:26:42 +02:00 committed by GitHub
parent 95ec5dc3f6
commit 5069099000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -435,8 +435,8 @@ export class GameScene extends ResizableScene implements CenterListener {
//create input to move //create input to move
mediaManager.setUserInputManager(this.userInputManager);
this.userInputManager = new UserInputManager(this); this.userInputManager = new UserInputManager(this);
mediaManager.setUserInputManager(this.userInputManager);
if (localUserStore.getFullscreen()) { if (localUserStore.getFullscreen()) {
document.querySelector('body')?.requestFullscreen(); document.querySelector('body')?.requestFullscreen();