From b4defa324a330217f0139f1240bcf53c0b1f996a Mon Sep 17 00:00:00 2001 From: Maksymilian Jopek Date: Thu, 2 Jun 2022 23:13:07 +0200 Subject: v1.0.0 --- src/drawables/Startscreen.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drawables/Startscreen.ts') 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) { -- cgit v1.3.1