diff --git a/HISTORY.md b/HISTORY.md
index dcef691a..b569cc7b 100755
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -10,6 +10,11 @@
* hyperized "VIDEO _ ON _" reporter primitive
* **Documentation Updates:**
* API update for "loadProjectXML"
+* **Notable Fixes:**
+ * fixed display of inherited sprite-local variables
+
+### 2020-11-22
+* objects: fixed display of inherited sprite-local variables
### 2020-11-21
* new dev version
diff --git a/snap.html b/snap.html
index 09372726..bfad9820 100755
--- a/snap.html
+++ b/snap.html
@@ -10,7 +10,7 @@
-
+
diff --git a/src/objects.js b/src/objects.js
index 642f88e4..b520c2e9 100644
--- a/src/objects.js
+++ b/src/objects.js
@@ -84,7 +84,7 @@ BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, BooleanSlotMorph,
localize, TableMorph, TableFrameMorph, normalizeCanvas, VectorPaintEditorMorph,
AlignmentMorph, Process, WorldMap, copyCanvas, useBlurredShadows*/
-modules.objects = '2020-November-20';
+modules.objects = '2020-November-22';
var SpriteMorph;
var StageMorph;
@@ -6919,13 +6919,17 @@ SpriteMorph.prototype.hasSpriteVariable = function (varName) {
};
SpriteMorph.prototype.allLocalVariableNames = function (sorted) {
- var data;
+ var exceptGlobals = this.globalVariables(),
+ globalNames = exceptGlobals.names(),
+ data;
function alphabetically(x, y) {
return x.toLowerCase() < y.toLowerCase() ? -1 : 1;
}
- data = this.variables.names();
+ data = this.variables.allNames(exceptGlobals).filter(each =>
+ !contains(globalNames, each)
+ );
if (sorted) {
data.sort(alphabetically);
}