Skip to content

Commit

Permalink
fix a bug in weewuh audio on site
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Aug 16, 2024
1 parent 9e5d28a commit ad544dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ pub fn Site() -> impl IntoView {
}

fn weewuh() {
let i = (now() / 1000.0 % 1.0 * 100.0) as u32;
let i = (now() % 1.0 * 100.0) as u32;
let src = match i {
0 => "/assets/ooh-ee-ooh-ah.mp3",
1..=4 => "/assets/wee-wah.mp3",
Expand Down

0 comments on commit ad544dc

Please sign in to comment.