Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Fix code review issues #286
Browse files Browse the repository at this point in the history
  • Loading branch information
clemens-tolboom committed Jun 7, 2016
1 parent 4c4f66d commit 40e7b6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bot.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,8 @@ var userInterface = window.userInterface = (function() {
' m: ' + median);

for (var i = 0; i < bot.scores.length && i < 10; i++) {
oContent.push(i + 1 + '. ' + bot.scores[i].score + ' in ' + Math.round(bot.scores[i].duration/1000) +'s');
oContent.push(i + 1 + '. ' + bot.scores[i].score +
' in ' + Math.round(bot.scores[i].duration/1000) + 's');
}

userInterface.overlays.statsOverlay.innerHTML = oContent.join('<br/>');
Expand Down Expand Up @@ -1464,6 +1465,6 @@ var userInterface = window.userInterface = (function() {
setInterval(userInterface.framesPerSecond.fpsTimer, 80);

// Start!
bot.startTime = Date.now();;
bot.startTime = Date.now();
userInterface.oefTimer();
})();

0 comments on commit 40e7b6b

Please sign in to comment.