1786004273

This commit is contained in:
2026-08-06 10:17:53 +02:00
parent 3eb548a8af
commit 467a33090b

View File

@@ -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;