aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/jarvis.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/jarvis.js b/examples/jarvis.js
index 76e8aa1..2fec17d 100644
--- a/examples/jarvis.js
+++ b/examples/jarvis.js
@@ -23,7 +23,7 @@ main.on('tileUpdate', tileHandler);
//// Configurable helpers for utilities
function init(send){
sender = send;
- writes.enable();
+ setTimeout(()=>{writes.enable},1000); // Would fail if a write were added because it would be within a second of cursor send
}
function deinit(){