osu & fruits: linear sliders with != 2 points are now bezier
This commit is contained in:
+3
-1
@@ -87,7 +87,9 @@ pub fn stars(map: &Beatmap, mods: impl Mods, passed_objects: Option<usize>) -> S
|
||||
/ 100.0;
|
||||
|
||||
// Ensure path type validity
|
||||
let path_type = if *path_type == PathType::PerfectCurve && curve_points.len() > 3 {
|
||||
let path_type = if (*path_type == PathType::PerfectCurve && curve_points.len() > 3)
|
||||
|| (*path_type == PathType::Linear && curve_points.len() != 2)
|
||||
{
|
||||
PathType::Bezier
|
||||
} else if curve_points.len() == 2 {
|
||||
PathType::Linear
|
||||
|
||||
Reference in New Issue
Block a user