From 42d7462a9c02ab74e10c6fb56469d668d554641d Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Sun, 19 Mar 2023 09:59:46 +0000 Subject: [PATCH] fix underflow ups --- src/render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render.rs b/src/render.rs index 6aa2369..e1b8565 100644 --- a/src/render.rs +++ b/src/render.rs @@ -319,7 +319,7 @@ impl Render { self.last = data.clone(); } - if self.last_update - time < 500 { + if time - self.last_update < 500 { println!("To Fast! Skiping"); }