mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-13 23:10:56 -04:00
remove get for records
This commit is contained in:
parent
2867b5c331
commit
18282fc1d0
1 changed files with 1 additions and 1 deletions
|
@ -883,7 +883,7 @@ class Runtime extends EventEmitter {
|
|||
* @param {!MonitorRecord} monitor Monitor to add.
|
||||
*/
|
||||
requestAddMonitor (monitor) {
|
||||
this._monitorState = this._monitorState.set(monitor.get('id'), monitor);
|
||||
this._monitorState = this._monitorState.set(monitor.id, monitor);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue