1786005074
This commit is contained in:
@@ -51,8 +51,8 @@ impl Trekstor {
|
|||||||
self.screen.flush();
|
self.screen.flush();
|
||||||
self.input.finish();
|
self.input.finish();
|
||||||
|
|
||||||
let wait_time = if dt < self.update_timestep {
|
let wait_time = if dt > self.update_timestep {
|
||||||
dt - self.update_timestep
|
self.update_timestep - dt
|
||||||
} else {
|
} else {
|
||||||
Duration::from_millis(33)
|
Duration::from_millis(33)
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user