Frame limit the lights
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andre Henriques 2023-06-26 18:18:50 +01:00
parent b0effe3122
commit 3f07bc498a

View File

@ -343,7 +343,7 @@ impl Render {
self.last = data.clone();
}
if time - self.last_update == 0 {
if time - self.last_update < 33 {
println!("To Fast! Skiping");
return;
}