Skip to content

Commit de2e605

Browse files
committed
version: 2.0.0
1 parent a3f1e7d commit de2e605

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rosu-memory"
3-
version = "0.2.0"
3+
version = "2.0.0"
44
edition = "2021"
55

66
[dependencies]

src/structs.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,7 @@ impl OutputValues {
782782
//.mode(self.result_screen.gamemode()) TODO
783783

784784
let diff = Difficulty::new()
785+
.lazer(false)
785786
.mods(self.result_screen.mods)
786787
.calculate(beatmap);
787788

@@ -899,6 +900,7 @@ impl OutputValues {
899900
}
900901
} else {
901902
let diff = Difficulty::new()
903+
.lazer(false)
902904
.mods(self.gameplay.mods)
903905
.calculate(beatmap);
904906

@@ -1001,7 +1003,11 @@ impl OutputValues {
10011003
// Just to be sure
10021004
assert_eq!(beatmap.mode, mode);
10031005

1004-
self.stars = Difficulty::new().mods(mods).calculate(beatmap).stars();
1006+
self.stars = Difficulty::new()
1007+
.lazer(false)
1008+
.mods(mods)
1009+
.calculate(beatmap)
1010+
.stars();
10051011

10061012
let attr = Performance::new(beatmap).mods(mods).calculate();
10071013

0 commit comments

Comments
 (0)