fix degrade/undegrade

This commit is contained in:
alex 2022-04-16 12:37:47 +01:00
parent 7adea0ac65
commit 4894588284

View File

@ -97,7 +97,7 @@ Pattern.prototype._degradeBy = function (x) {
return this._degradeByWith(rand, x); return this._degradeByWith(rand, x);
}; };
Pattern.prototype._degrade = function () { Pattern.prototype.degrade = function () {
return this._degradeBy(0.5); return this._degradeBy(0.5);
}; };
@ -108,7 +108,7 @@ Pattern.prototype._undegradeBy = function (x) {
); );
}; };
Pattern.prototype._undegrade = function () { Pattern.prototype.undegrade = function () {
return this._undegradeBy(0.5); return this._undegradeBy(0.5);
}; };