fix joystick
This commit is contained in:
parent
e329c39741
commit
19a56f9d3b
@ -173,7 +173,7 @@ export class UserInputManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
destroy(): void {
|
destroy(): void {
|
||||||
this.joystick.destroy();
|
this.joystick && this.joystick.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
private initMouseWheel() {
|
private initMouseWheel() {
|
||||||
|
Loading…
Reference in New Issue
Block a user