fix gamepad list loop
This commit is contained in:
parent
51bdf95ae1
commit
d14b45a138
@ -199,7 +199,7 @@ class Gamepad {
|
||||
*/
|
||||
buildHelpGamepadList() {
|
||||
const $tbody = [];
|
||||
for (let key in this.gamepads) {
|
||||
for (let key = 0; key < this.gamepads.length; key++) {
|
||||
const gamepad = this.gamepads[key];
|
||||
if (!gamepad) {
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user