summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/objects.js b/objects.js
index ecde750..2263883 100644
--- a/objects.js
+++ b/objects.js
@@ -3488,6 +3488,10 @@ SpriteMorph.prototype.allHatBlocksForKey = function (key) {
if (selectedOption === 'any key') {
return true;
}
+ if (selectedOption === 'number key' &&
+ (key >= '0' && key <= '9')) {
+ return true;
+ }
if (selectedOption === key) {
return true;
}