chore: remove unused tick timing

This commit is contained in:
2023-09-09 02:41:25 -05:00
parent c90f221c73
commit de29dc6711

View File

@@ -75,17 +75,8 @@ pub fn main() {
} }
} }
let tick_time = { game.tick();
let start = Instant::now(); game.draw();
game.tick();
start.elapsed()
};
let draw_time = {
let start = Instant::now();
game.draw();
start.elapsed()
};
if start.elapsed() < loop_time { if start.elapsed() < loop_time {
::std::thread::sleep(loop_time - start.elapsed()); ::std::thread::sleep(loop_time - start.elapsed());