mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
remove redundant check
Co-Authored-By: Karishma Chadha <kchadha@media.mit.edu>
This commit is contained in:
parent
33a6071466
commit
18b1551cdb
1 changed files with 1 additions and 1 deletions
|
@ -1234,7 +1234,7 @@ class Runtime extends EventEmitter {
|
|||
let shadowType;
|
||||
let fieldName;
|
||||
if (argInfo.menu) {
|
||||
const menuInfo = argInfo.menu && context.categoryInfo.menuInfo[argInfo.menu];
|
||||
const menuInfo = context.categoryInfo.menuInfo[argInfo.menu];
|
||||
if (menuInfo.acceptReporters) {
|
||||
valueName = placeholder;
|
||||
shadowType = this._makeExtensionMenuId(argInfo.menu, context.categoryInfo.id);
|
||||
|
|
Loading…
Reference in a new issue