dont savestate at 0s

This commit is contained in:
Dustin Carlino 2018-10-10 16:31:16 -07:00
parent 792c25b40b
commit 37173fc72c

View File

@ -203,7 +203,7 @@ impl Sim {
// Savestate?
if let Some(t) = self.savestate_every {
if self.time.is_multiple_of(t) {
if self.time.is_multiple_of(t) && self.time != Tick::zero() {
self.save();
}
}