Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update submit.js
fixed bug for "[WARN] Failed to get submission beat ratio."
  • Loading branch information
SparklesCN authored Aug 7, 2019
commit 9a0e155ea7f095807366f73348df8dcf69b5d1c0
2 changes: 1 addition & 1 deletion lib/commands/submit.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ cmd.handler = function(argv) {

let ratio = 0.0;
for (let score of scores) {
if (parseFloat(score[0]) > myRuntime)
if (parseFloat(score[0]) >= myRuntime)
ratio += parseFloat(score[1]);
}

Expand Down