Skip to content

Commit

Permalink
fix a bug of connect
Browse files Browse the repository at this point in the history
  • Loading branch information
unvisual authored Feb 22, 2025
1 parent 99df8c5 commit 3dd5a08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prpr/src/judge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,9 @@ impl Judge {

let (LIMIT_BAD_R, LIMIT_GOOD_R, LIMIT_PERFECT_R) =
if res.config.strict() {
(LIMIT_BAD, LIMIT_GOOD,LIMIT_PERFECT)
(LIMIT_BAD*0.5, LIMIT_GOOD*0.5, LIMIT_PERFECT*0.5)
} else {
(LIMIT_BAD*0.5, LIMIT_GOOD*0.5, 0.5* LIMIT_PERFECT)
(LIMIT_BAD, LIMIT_GOOD, LIMIT_PERFECT)
};

if res.config.autoplay() {
Expand Down

0 comments on commit 3dd5a08

Please sign in to comment.