diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-29 20:32:08 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-29 20:32:08 +0200 |
commit | 1e563554a11d063f67ad98bcbf75aa11a9729eb5 (patch) | |
tree | e2dc4bda4ae31c7c657eb2a915343c497634abb3 /test-client | |
parent | e0c1d707dc24c79be58efa242b41c3c93c7cb77e (diff) | |
download | hurrycurry-1e563554a11d063f67ad98bcbf75aa11a9729eb5.tar hurrycurry-1e563554a11d063f67ad98bcbf75aa11a9729eb5.tar.bz2 hurrycurry-1e563554a11d063f67ad98bcbf75aa11a9729eb5.tar.zst |
character zero was massing hat
Diffstat (limited to 'test-client')
-rw-r--r-- | test-client/visual.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-client/visual.ts b/test-client/visual.ts index a26bab6c..e966b5cf 100644 --- a/test-client/visual.ts +++ b/test-client/visual.ts @@ -170,7 +170,7 @@ function draw_character(character: number) { ctx.arc(0, 0, PLAYER_SIZE, 0, Math.PI * 2) ctx.fill() - if (character > 0) { + if (character >= 0) { ctx.fillStyle = `hsl(${character}rad, 80%, 10%)` ctx.beginPath() ctx.arc(0, -0.2, PLAYER_SIZE, 0, Math.PI * 2) |