diff options
Diffstat (limited to '')
| -rw-r--r-- | web/play/src/main.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/play/src/main.ts b/web/play/src/main.ts index f051429..2dd3ce9 100644 --- a/web/play/src/main.ts +++ b/web/play/src/main.ts | |||
| @@ -68,6 +68,7 @@ const gateway = new Gateway(wsUrl, { | |||
| 68 | onHello(hello) { | 68 | onHello(hello) { |
| 69 | serverOffset = hello.time - Date.now(); | 69 | serverOffset = hello.time - Date.now(); |
| 70 | currentUser = hello.user ?? null; | 70 | currentUser = hello.user ?? null; |
| 71 | if (typeof hello.balance === "number") lastBalance = hello.balance; | ||
| 71 | gameBadge.textContent = `v${hello.version}`; | 72 | gameBadge.textContent = `v${hello.version}`; |
| 72 | }, | 73 | }, |
| 73 | onView(next) { | 74 | onView(next) { |
