diff --git a/src/editor.rs b/src/editor.rs index 55dd015..cf42bdb 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -320,7 +320,7 @@ impl Editor { self.exit_state = ExitState::Save; self.sim_state = SimState::Stepping; self.score = Some(Score { - cycles: self.machine.step_count(), + cycles: self.total_steps + self.machine.step_count(), tiles: self.source_board.count_tiles(), }); }