summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Ball <cycomachead@gmail.com>2014-04-22 17:05:14 -0700
committerMichael Ball <cycomachead@gmail.com>2014-04-22 17:05:14 -0700
commit9dad5314df266acb7418c96caa6fa77cb9bdcdbe (patch)
tree4e3783832ffe483e82574152ada629322a3d98a5
parentce3340e623fd0f03ecb15de5ec54eda8113c7c67 (diff)
downloadsnap-9dad5314df266acb7418c96caa6fa77cb9bdcdbe.tar.gz
snap-9dad5314df266acb7418c96caa6fa77cb9bdcdbe.zip
fix set turbo mode block
-rw-r--r--threads.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/threads.js b/threads.js
index 77632d0..ef83b46 100644
--- a/threads.js
+++ b/threads.js
@@ -1482,10 +1482,10 @@ Process.prototype.doSetFastTracking = function (bool) {
if (this.homeContext.receiver) {
ide = this.homeContext.receiver.parentThatIsA(IDE_Morph);
if (ide) {
- if (ide.stage.isFastTracked) {
- ide.stopFastTracking();
- } else {
+ if (bool === true) {
ide.startFastTracking();
+ } else {
+ ide.stopFastTracking();
}
}
}