fix joystick

This commit is contained in:
_Bastler 2021-05-13 19:07:04 +02:00
parent e329c39741
commit 19a56f9d3b

View File

@ -173,7 +173,7 @@ export class UserInputManager {
} }
destroy(): void { destroy(): void {
this.joystick.destroy(); this.joystick && this.joystick.destroy();
} }
private initMouseWheel() { private initMouseWheel() {