diff options
-rw-r--r-- | examples/jarvis.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/jarvis.js b/examples/jarvis.js index 81547a9..31b0513 100644 --- a/examples/jarvis.js +++ b/examples/jarvis.js @@ -18,7 +18,6 @@ main.on('close', deinit); //// tileUpdates require knowledge of the prog's identity (sender) var sender; -main.on('tileUpdate', tileHandler); //// Configurable helpers for utilities function init(send){ @@ -32,6 +31,7 @@ function deinit(){ function initOnce(){ timect(); + main.on('tileUpdate', tileHandler); // Should only be active after the "control space" of the notification has been established } var funcs = [protectArea, detectPrompt]; |