fixed dummy reference in gamepad color change method

This commit is contained in:
e7d 2017-05-14 15:10:54 +02:00
parent 81a46f3495
commit d46d1aaaf6

View File

@ -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) {