fixed dummy reference in gamepad color change method
This commit is contained in:
parent
81a46f3495
commit
d46d1aaaf6
@ -360,7 +360,7 @@ class Gamepad {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('undefined' === typeof zoomLevel) {
|
if ('undefined' === typeof gamepadColor) {
|
||||||
// no color was specified, load the next one in list
|
// no color was specified, load the next one in list
|
||||||
this.activeGamepadColorIndex++;
|
this.activeGamepadColorIndex++;
|
||||||
if (this.activeGamepadColorIndex > this.activeGamepadIdentifier.colors.length - 1) {
|
if (this.activeGamepadColorIndex > this.activeGamepadIdentifier.colors.length - 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user