Skip to content

Commit

Permalink
Fixed flickering knots readout
Browse files Browse the repository at this point in the history
  • Loading branch information
picosonic committed Sep 10, 2021
1 parent 30980f0 commit 9b2fc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hud.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function drawhud(ps)
ctx.stroke();
write(ctx, 57, 223, ""+Math.floor(ps.knots), 2, ps.hudcolour);

min=ps.knots-80; max=ps.knots+80;
min=Math.floor(ps.knots-80); max=Math.floor(ps.knots+80);
for (i=min; i<max; i++)
{
if ((i%50)==0)
Expand Down

0 comments on commit 9b2fc7e

Please sign in to comment.