1786004534
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use std::thread::sleep;
|
||||
use std::time::{Duration, Instant};
|
||||
|
||||
use self::input::InputState;
|
||||
@@ -56,6 +57,7 @@ impl Trekstor {
|
||||
self.input.finish();
|
||||
|
||||
self.accumulator += dt;
|
||||
sleep(Duration::from_millis(1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user