include final tick state in debug subticks

This commit is contained in:
Crispy 2025-03-29 00:41:58 +01:00
parent e2df4f4bff
commit cd51c4b47a

View file

@ -529,6 +529,10 @@ impl Machine {
} }
#[cfg(debug_assertions)] #[cfg(debug_assertions)]
{ {
self.debug_subticks.push(DebugSubTick {
grid: self.grid.clone(),
pos: None,
});
self.subtick_index = self.debug_subticks.len() - 1; self.subtick_index = self.debug_subticks.len() - 1;
} }
} }