Justice Guard

This commit is contained in:
KGrzeg 2021-10-18 01:53:50 +02:00
parent 12589a7452
commit a16f5bb56e
3 changed files with 46 additions and 4 deletions

View file

@ -21,9 +21,11 @@ export default class PlayScene extends Phaser.Scene {
if (window.myStuff.token) {
const response = await API.record(pts, shts, time)
rank = response.rank
await window.updateTopList()
if (response.rank) {
rank = response.rank
await window.updateTopList()
}
}
this.add.image(250, 550, 'phaser-logo').setScale(0.5)