Skip to content

Commit

Permalink
Set timer to 0 for max speed
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyas-taouaou committed Nov 17, 2024
1 parent a608869 commit c7e6865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn main() {
fn setup(mut commands: Commands) {
let graph = Graph::default();
let simulation_tick = SimulationTick {
timer: Timer::from_seconds(0.1, TimerMode::Repeating),
timer: Timer::from_seconds(0.0, TimerMode::Repeating),
};
commands.insert_resource(simulation_tick);
commands.insert_resource(graph);
Expand Down

0 comments on commit c7e6865

Please sign in to comment.