From 467a33090b17924383e407d1cab5ed5ca70408e2 Mon Sep 17 00:00:00 2001 From: Avii Date: Thu, 6 Aug 2026 10:17:53 +0200 Subject: [PATCH] 1786004273 --- src/trekstor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trekstor.rs b/src/trekstor.rs index 0194478..eb2b383 100644 --- a/src/trekstor.rs +++ b/src/trekstor.rs @@ -36,8 +36,8 @@ impl Trekstor { pub fn update(&mut self, update: UpdateFn) { loop { - self.input.next_loop(); self.input.handle_event(); + self.input.next_loop(); self.last_time = self.current_time; self.current_time = Instant::now(); let mut dt = self.current_time - self.last_time;