Beatsaber Rust Utilities: A Beatsaber V3 parsing library.
beatsaber beatmap
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixed incorrect distributions when wave value is less then data offset.

+2 -2
+1 -1
src/difficulty/lightshow.rs
··· 111 111 DistributionType::Wave => { 112 112 let mut modified_value = dist_value; 113 113 if let Some(offset) = last_data_offset { 114 - modified_value -= offset; 114 + modified_value = (modified_value - offset).max(0.0); 115 115 } 116 116 117 117 let mut fraction = filtered_id / filtered_size;
+1 -1
src/difficulty/lightshow/group/translation.rs
··· 212 212 let group = &event_box.groups[0]; 213 213 214 214 for i in 0..5 { 215 - assert_eq!(group.get_value_offset(i, 5), i as f32 / 5.0); 215 + assert_eq!(group.get_value_offset(i, 5), 0.0); 216 216 } 217 217 } 218 218 }