fix degrade/undegrade
This commit is contained in:
parent
7adea0ac65
commit
4894588284
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue