mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
removed power wrongly being set in setMotorDirection()
This commit is contained in:
parent
ba2aaf90dd
commit
c3908b5f2c
1 changed files with 0 additions and 1 deletions
|
@ -1813,7 +1813,6 @@ class Scratch3BoostBlocks {
|
|||
}
|
||||
// keep the motor on if it's running, and update the pending timeout if needed
|
||||
if (motor) {
|
||||
motor.power = MathUtil.clamp(Cast.toNumber(args.POWER), 0, 100);
|
||||
switch (motor.status) {
|
||||
case BoostMotorState.ON_FOREVER:
|
||||
motor.turnOn();
|
||||
|
|
Loading…
Reference in a new issue