mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Adding send interval delay to setMotorDirection opcode.
This commit is contained in:
parent
26e6d25325
commit
9a60d10190
1 changed files with 5 additions and 1 deletions
|
@ -1856,7 +1856,11 @@ class Scratch3BoostBlocks {
|
|||
}
|
||||
}
|
||||
});
|
||||
return Promise.resolve();
|
||||
return new Promise(resolve => {
|
||||
window.setTimeout(() => {
|
||||
resolve();
|
||||
}, BoostBLE.sendInterval);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue