From d46d1aaaf6fae85806b963cfb2c7ff156e917fda Mon Sep 17 00:00:00 2001 From: e7d Date: Sun, 14 May 2017 15:10:54 +0200 Subject: [PATCH] fixed dummy reference in gamepad color change method --- js/gamepad.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/gamepad.js b/js/gamepad.js index 07255bf..5c78b7b 100644 --- a/js/gamepad.js +++ b/js/gamepad.js @@ -360,7 +360,7 @@ class Gamepad { return; } - if ('undefined' === typeof zoomLevel) { + if ('undefined' === typeof gamepadColor) { // no color was specified, load the next one in list this.activeGamepadColorIndex++; if (this.activeGamepadColorIndex > this.activeGamepadIdentifier.colors.length - 1) {