fixed toggle to debug mode

This commit is contained in:
e7d 2017-05-14 10:11:17 +02:00
parent 121ee8942a
commit 76791333c7

View File

@ -152,8 +152,6 @@ class Gamepad {
}
mapGamepad(gamepadIndex) {
this.removeGamepad();
this.activeGamepadIndex = gamepadIndex;
const gamepad = this.gamepads[this.activeGamepadIndex];
@ -348,7 +346,6 @@ class Gamepad {
this.debug = !this.debug;
// remap current gamepad
this.removeGamepad();
this.mapGamepad(this.activeGamepadIndex);
}
}