Skip to content

Commit

Permalink
fixed off by one in accept timing
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmichels committed May 4, 2020
1 parent 7281d71 commit 15ed15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron/src/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ readyCheck = (error, response, body) => {
if (current_time > last_time) {
last_time = current_time;
if(accept_timing==='asap'){
if (current_time === 0) { //accept game as soon as it's available
if (current_time === 1) { //accept game as soon as it's available
//send request to accept the queue
var agentOptions;
var agent;
Expand Down

0 comments on commit 15ed15b

Please sign in to comment.