Skip to content

Commit

Permalink
Adjust running animation
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel C committed Nov 20, 2020
1 parent b611e2e commit c791f65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,13 @@ function glidePlayer(direction) {
}
}
}
}, 10);
}, 1);

// Sometimes the movements aren't exact, but we can kill them after half a second
// // Sometimes the movements aren't exact, but we can kill them after half a second
setTimeout(function() {
clearInterval(int);
player.frame = 0;
}, 300);
}, 200);
}

// Test mechanics (called every lap)
Expand Down

0 comments on commit c791f65

Please sign in to comment.