diff --git a/src/game/main.rs b/src/game/main.rs index e3720ac..057a2f6 100644 --- a/src/game/main.rs +++ b/src/game/main.rs @@ -1,10 +1,7 @@ extern crate sfml; extern crate rusty; -use std::time::{ - Instant, - Duration, -}; +use std::time::Instant; use sfml::window::{ Event, @@ -48,7 +45,6 @@ fn main() { _ => (), } - scene.manage_event(&event); } @@ -65,7 +61,6 @@ fn main() { // Display and manage the frame rate renderer.display(); - if ! running { break; }