small fix

This commit is contained in:
Luca Conte 2025-03-06 22:14:53 +01:00
parent 27be22842b
commit 65d7ee8e82
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ async function draw() {
let deltaTime = (now - lastFrame) / 1000;
hue += deltaTime / 5;
if (hue > 1) hue -= 1;
if (hue > 1) hue = 0;
updateStats(deltaTime);