diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2022-06-02 23:13:07 +0200 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2022-06-02 23:16:33 +0200 |
| commit | b4defa324a330217f0139f1240bcf53c0b1f996a (patch) | |
| tree | deabb94fd351b10d3d6b38d967424149536b3927 /src/drawables/Startscreen.ts | |
| parent | ef76266d1a61c02f1721efedc830fab12279d2b9 (diff) | |
| download | 1942-b4defa324a330217f0139f1240bcf53c0b1f996a.tar.gz 1942-b4defa324a330217f0139f1240bcf53c0b1f996a.tar.zst 1942-b4defa324a330217f0139f1240bcf53c0b1f996a.zip | |
v1.0.0
Diffstat (limited to 'src/drawables/Startscreen.ts')
| -rw-r--r-- | src/drawables/Startscreen.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drawables/Startscreen.ts b/src/drawables/Startscreen.ts index 91f7405..0756fd3 100644 --- a/src/drawables/Startscreen.ts +++ b/src/drawables/Startscreen.ts @@ -31,10 +31,11 @@ export default class Startscreen extends Drawable { if (i === 0) place = "top"; else if (i === 1) place = "2nd"; else if (i === 2) place = "3rd"; - else place = i + "th"; + else place = (i + 1) + "th"; chars.push([...place.split(''), ' ', ...score.score.padStart(7, '0').split(''), ' ', ...score.name, ' ', ...score.world.split('')]) } + if (this.si !== 0 && this.show0 !== true) { let x = 17, y = 40; for (const char of chars) { @@ -67,7 +68,6 @@ export default class Startscreen extends Drawable { } else { //@ts-expect-error this.sprite = IMGS["startScreen" + this.si]; - console.log("startScreen" + this.si); // if (this.i++ === 2) { if (this.i++ === 9) { |
