From 3b4d856c61a638d92928812378d03c9c3abcce0d Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Fri, 10 Jan 2020 20:27:36 -0500
Subject: Typo
Accidentally wrote no time for setTimeout
---
examples/jarvis.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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();
--
cgit