diff --git a/src/extensions/scratch3_boost/index.js b/src/extensions/scratch3_boost/index.js index 5b95c78a0..64b2a8f7c 100644 --- a/src/extensions/scratch3_boost/index.js +++ b/src/extensions/scratch3_boost/index.js @@ -1787,11 +1787,6 @@ class Scratch3BoostBlocks { case BoostMotorState.ON_FOR_TIME: motor.turnOnFor(motor.pendingTimeoutStartTime + motor.pendingTimeoutDelay - Date.now()); break; - case BoostMotorState.ON_FOR_ROTATION: { - const p = Math.abs(motor.pendingPositionDestination - motor.position); - motor.turnOnForDegrees(p, Math.sign(p)); - break; - } } } }); @@ -1838,11 +1833,6 @@ class Scratch3BoostBlocks { case BoostMotorState.ON_FOR_TIME: motor.turnOnFor(motor.pendingTimeoutStartTime + motor.pendingTimeoutDelay - Date.now()); break; - case BoostMotorState.ON_FOR_ROTATION: { - const p = Math.abs(motor.pendingPositionDestination - motor.position); - motor.turnOnForDegrees(p, Math.sign(p)); - break; - } } } }