diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2022-06-01 00:26:52 +0200 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2022-06-01 00:26:52 +0200 |
| commit | 5413001f654d4ea27129cf2edfc15322f2ba27ec (patch) | |
| tree | cd5c4bda29622ca5406a7f641143c7c5ead20a51 /src/Storage.ts | |
| parent | 0010f2de57cfa97106432ea1849c1bb75d3d99a1 (diff) | |
| download | 1942-5413001f654d4ea27129cf2edfc15322f2ba27ec.tar.gz 1942-5413001f654d4ea27129cf2edfc15322f2ba27ec.tar.zst 1942-5413001f654d4ea27129cf2edfc15322f2ba27ec.zip | |
Spawning enemies, start Startscreen
Diffstat (limited to 'src/Storage.ts')
| -rw-r--r-- | src/Storage.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Storage.ts b/src/Storage.ts index 50d70a2..632ce50 100644 --- a/src/Storage.ts +++ b/src/Storage.ts @@ -20,7 +20,6 @@ export function getStorage(): Storage { } export function setStorage(s: Storage) { - debugger localStorage.setItem("storage", JSON.stringify(s)) } @@ -33,7 +32,7 @@ export function getPlace(s: number): string { place = i; break; } } - if (place === 1) return "1st"; + if (place === 1) return "top"; else if (place === 2) return "2nd"; else if (place === 3) return "3rd"; else return place + "th"; |
