fixed active gamepad removal on keyboard press

This commit is contained in:
e7d 2017-05-14 11:34:24 +02:00
parent cc1fa68387
commit 62befd88db

View File

@ -72,7 +72,7 @@ class Gamepad {
switch (e.code) { switch (e.code) {
case "Delete": case "Delete":
case "Escape": case "Escape":
this.removeGamepad(); this.removeGamepad(this.activeGamepadIndex);
break; break;
case "KeyC": case "KeyC":
this.changeGamepadColor(); this.changeGamepadColor();