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) {
case "Delete":
case "Escape":
this.removeGamepad();
this.removeGamepad(this.activeGamepadIndex);
break;
case "KeyC":
this.changeGamepadColor();