mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 23:12:24 -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 shadowType;
|
||||||
let fieldName;
|
let fieldName;
|
||||||
if (argInfo.menu) {
|
if (argInfo.menu) {
|
||||||
const menuInfo = argInfo.menu && context.categoryInfo.menuInfo[argInfo.menu];
|
const menuInfo = context.categoryInfo.menuInfo[argInfo.menu];
|
||||||
if (menuInfo.acceptReporters) {
|
if (menuInfo.acceptReporters) {
|
||||||
valueName = placeholder;
|
valueName = placeholder;
|
||||||
shadowType = this._makeExtensionMenuId(argInfo.menu, context.categoryInfo.id);
|
shadowType = this._makeExtensionMenuId(argInfo.menu, context.categoryInfo.id);
|
||||||
|
|
Loading…
Reference in a new issue