Commit f8957898 authored by Stephen D's avatar Stephen D
Browse files

Don't redo the iteration when loading an existing simulation

parent 4ee54e3c
......@@ -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);
}
_ => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment