Browse Source

Don't redo the iteration when loading an existing simulation

master
Stephen 5 months ago
parent
commit
f89578989b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/main.rs

+ 1
- 0
src/main.rs View File

@ -114,6 +114,7 @@ fn main() {
let matches = matches.subcommand_matches("load").unwrap();
let file_name: &str = matches.value_of("filename").unwrap();
let mut universe = Universe::load(file_name);
universe.iteration += 1;
create_frames(&mut universe);
}
_ => {


Loading…
Cancel
Save