mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-25 07:22:33 -05:00
Fixing a comment style.
This commit is contained in:
parent
bb6514f1d6
commit
dd82079bad
1 changed files with 4 additions and 4 deletions
|
@ -522,10 +522,10 @@ class BoostMotor {
|
||||||
* @param {boolean} [resetState=true] - whether to reset the state of the motor when running this command.
|
* @param {boolean} [resetState=true] - whether to reset the state of the motor when running this command.
|
||||||
*/
|
*/
|
||||||
turnOnForDegrees (degrees, direction, resetState = true) {
|
turnOnForDegrees (degrees, direction, resetState = true) {
|
||||||
/* if (this.power === 0) {
|
// if (this.power === 0) {
|
||||||
this._clearRotationState();
|
// this._clearRotationState();
|
||||||
return;
|
// return;
|
||||||
}*/
|
// }
|
||||||
|
|
||||||
degrees = Math.max(0, degrees);
|
degrees = Math.max(0, degrees);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue