minor formatting

This commit is contained in:
Mottributo committed 2023-03-23 17:22:33 +03:00
1 parent 07901202bf
commit fd4cb23182
1 file changed
-2
-2
View File
@@ -785,12 +785,10 @@ function checkPlayerDie() {
}
function drawFps() {
push();
fps = Math.round(frameRate() * 10) / 10;
if (fps_recent_values.length < 200) fps_recent_values.push(fps);
else fps_recent_values.shift();
fps_recent_values.push(fps);
fill("red");
text(fps, 400, 99);
stroke("black");