From 3f4577bb2cbf36732d385ec8fe0ee6546ba2578c Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Mon, 10 Aug 2026 02:31:54 +0300 Subject: [PATCH] Make Rate always trigger on first step --- flix/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flix/util.h b/flix/util.h index 4db65a4..32df03e 100644 --- a/flix/util.h +++ b/flix/util.h @@ -68,7 +68,7 @@ public: class Rate { public: float rate; - float last = 0; + float last = -INFINITY; Rate(float rate) : rate(rate) {} operator bool() {