summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui.js b/gui.js
index 8cd9403..62c0268 100644
--- a/gui.js
+++ b/gui.js
@@ -228,6 +228,8 @@ IDE_Morph.prototype.init = function (isAutoFill) {
// override inherited properites:
this.color = this.backgroundColor;
+
+ setInterval(this.save, 1000 * 60 * 60 * 5); // every 5 minutes
};
IDE_Morph.prototype.openIn = function (world) {