From ad544dcc19b3a0dd5e5c7e94923fc067140450fe Mon Sep 17 00:00:00 2001 From: Kai Schmidt Date: Fri, 16 Aug 2024 11:35:43 -0700 Subject: [PATCH] fix a bug in weewuh audio on site --- site/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/main.rs b/site/src/main.rs index 27784ec65..3d071fedd 100644 --- a/site/src/main.rs +++ b/site/src/main.rs @@ -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",