diff options
Diffstat (limited to 'src/Highscore.ts')
| -rw-r--r-- | src/Highscore.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Highscore.ts b/src/Highscore.ts index f823393..563c16c 100644 --- a/src/Highscore.ts +++ b/src/Highscore.ts @@ -50,9 +50,14 @@ export default class Highscore extends Drawable { while (x < 275) { ctx.drawImage(IMGS.font.yellow['-'], x, y); x += this.dx / 2; } x = 17; y += this.dy; - const botTxt = ['a', 't', 'h', ' ', 'a', 'b', 'c', 'd', 'e', 'f', 'g', ' ', ...this.name, ' ', 'z', 'y']; + const botTxt = ['2', 't', 'h', ' ', '0', '0', '0', '0', '7', '5', '9', ' ', ...this.name, ' ', 'z', 'y']; for (let char of botTxt) { + try { ctx.drawImage(IMGS.font.yellow[char], x, y); + + } catch(e) { + debugger + } x += this.dx / 2; } } |
