summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Eisenmann <johneisenmann@Johns-iMac.local>2018-04-22 19:31:55 -0400
committerJohn Eisenmann <johneisenmann@Johns-iMac.local>2018-04-22 19:31:55 -0400
commit0231313791366fcc205fe174aa5ee5ad97a17d2f (patch)
treeda1ed80ec8d89feec49ca0493da369a4ad971b1b
parentf2a07747cd246e047b78cf783fd8f47c7fbd4b26 (diff)
Removing request delay
-rw-r--r--public/javascript/game.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/javascript/game.js b/public/javascript/game.js
index 2ffd6f3..ed16445 100644
--- a/public/javascript/game.js
+++ b/public/javascript/game.js
@@ -171,7 +171,8 @@ function handleGameUpdateRequest(data) {
hasStopped = true;
window.location = "menu";
}
- gameUpdateRequestDelay = 0.1 * framesPerSecond;
+ //gameUpdateRequestDelay = 0.25 * framesPerSecond;
+ gameUpdateRequestDelay = 0;
isRequestingGameUpdate = false;
}