diff --git a/src/trekstor.rs b/src/trekstor.rs index 37a5438..cdca309 100644 --- a/src/trekstor.rs +++ b/src/trekstor.rs @@ -47,6 +47,7 @@ impl Trekstor { } while self.accumulator > self.update_timestep { + println!("Frame"); self.input.next_loop(); if !update(&mut self.screen, &self.input) { diff --git a/src/trekstor/input.rs b/src/trekstor/input.rs index 8282e9a..ce55b45 100644 --- a/src/trekstor/input.rs +++ b/src/trekstor/input.rs @@ -46,7 +46,6 @@ impl InputState { }; if self.clear_before_next_event { - println!("Cleared"); self.keys_pressed_this_update.clear(); self.keys_released_this_update.clear(); self.clear_before_next_event = false;