mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-20 18:29:57 -04:00
Adding more errors based on web socket onerror and onclose. Moved extension runtime mapping of devices back to MicroBit class.
This commit is contained in:
parent
9d66c54f8a
commit
4332725d33
3 changed files with 38 additions and 30 deletions
src/engine
|
@ -899,7 +899,7 @@ class Runtime extends EventEmitter {
|
|||
|
||||
startDeviceScan (extensionId) {
|
||||
if (this.extensionDevices[extensionId]) {
|
||||
this.extensionDevices[extensionId].requestDevice();
|
||||
this.extensionDevices[extensionId].startDeviceScan();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue