diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-11-03 16:32:57 +0100 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2014-11-03 16:32:57 +0100 |
| commit | cb4302b455a0ace2d79bd3090f32d913e8ac6612 (patch) | |
| tree | fbc80f38a219caabcfc56e2112aed325ff3e0296 /objects.js | |
| parent | 1f750eb56047320f5c835c8b997f75e5e513d4eb (diff) | |
| download | snap-cb4302b455a0ace2d79bd3090f32d913e8ac6612.tar.gz snap-cb4302b455a0ace2d79bd3090f32d913e8ac6612.zip | |
add NUMBER KEY to key hat block
Diffstat (limited to 'objects.js')
| -rw-r--r-- | objects.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; } |
