diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-10 20:27:36 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-10 20:27:36 -0500 |
commit | 3b4d856c61a638d92928812378d03c9c3abcce0d (patch) | |
tree | 999d26d9efd3c86be25257fc8a82f1dd60a04141 /examples | |
parent | ad1ba53135b6d538ed4d96bcdc8d3c2c605cd0df (diff) |
Typo
Accidentally wrote no time for setTimeout
Diffstat (limited to 'examples')
-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 52b135f..81547a9 100644 --- a/examples/jarvis.js +++ b/examples/jarvis.js @@ -153,7 +153,7 @@ function detectPrompt(send, tiles, locs){ // tries to detect the prompt ('jarvis expire[loc] = setTimeout(() => {read.del(loc); delete expire[loc];}, 30000); } limits.push(send); - setTimeout(() => {limits.splice(limits.indexOf(send))}); + setTimeout(() => {limits.splice(limits.indexOf(send))}, 5*1000); } let response = new Space(); |