summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-06-05 17:56:19 +0200
committerjmoenig <jens@moenig.org>2014-06-05 17:56:19 +0200
commitd7f30820b5d0363b89af5201643188545dd3e815 (patch)
treea2fd425b40b8a68d9bb960c14b46b3ac49cc4299
parentccdce5da74cbc0b8bd1f60c8981894bc1f0e164b (diff)
downloadsnap-byow-d7f30820b5d0363b89af5201643188545dd3e815.tar.gz
snap-byow-d7f30820b5d0363b89af5201643188545dd3e815.zip
fixed #457
-rwxr-xr-xhistory.txt1
-rw-r--r--objects.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/history.txt b/history.txt
index da0aebf..fd4acc8 100755
--- a/history.txt
+++ b/history.txt
@@ -2155,3 +2155,4 @@ ______
* Objects: stop replacing the empty string with the number zero in watchers
* Threads: initialize new variables with zero (instead of null)
* Objects: fixed #465
+* Threads: fixed #457
diff --git a/objects.js b/objects.js
index 41f3e4a..5de468b 100644
--- a/objects.js
+++ b/objects.js
@@ -4144,7 +4144,7 @@ StageMorph.prototype.init = function (globals) {
this.keysPressed = {}; // for handling keyboard events, do not persist
this.blocksCache = {}; // not to be serialized (!)
this.paletteCache = {}; // not to be serialized (!)
- this.lastAnswer = null; // last user input, do not persist
+ this.lastAnswer = ''; // last user input, do not persist
this.activeSounds = []; // do not persist
this.trailsCanvas = null;