From f60419a5c1f41088b4d043c7a41bbbbdfe341a54 Mon Sep 17 00:00:00 2001 From: Jack Rubacha Date: Mon, 16 Dec 2024 01:19:03 -0500 Subject: [PATCH] stop accidental turbo mode --- src/simulatable_message.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/simulatable_message.rs b/src/simulatable_message.rs index ba83a49..794362e 100644 --- a/src/simulatable_message.rs +++ b/src/simulatable_message.rs @@ -206,6 +206,7 @@ impl SimEnum { /// Base logic for enum sim impl SimShared for SimEnum { fn update(&mut self) { + self.component.last_update = Instant::now(); let mut rng = rand::thread_rng(); for i in 0..self.component.value.len() { let prob = rng.gen_range(0f32..1f32);