Compare commits

...

1 Commits

Author SHA1 Message Date
f634beffee fix(wasm): remove unnecessary emscripten looping 2025-06-17 11:54:13 -05:00

View File

@@ -8,9 +8,6 @@ use tracing::event;
use tracing_error::ErrorLayer;
use tracing_subscriber::layer::SubscriberExt;
#[cfg(target_os = "emscripten")]
pub mod emscripten;
mod animation;
mod constants;
mod direction;
@@ -149,14 +146,7 @@ pub fn main() {
true
};
#[cfg(target_os = "emscripten")]
use emscripten::emscripten;
#[cfg(target_os = "emscripten")]
emscripten::set_main_loop_callback(main_loop);
#[cfg(not(target_os = "emscripten"))]
loop {
if !main_loop() {
break;