diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-01 21:24:48 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-01 21:24:48 +0100 |
| commit | a5ea79739783682c46983d5b67b2b4b7b5338ccb (patch) | |
| tree | d7e06cacfffdb173e8b27bcca426d6bbdd152ee3 /gui/src/net.rs | |
| parent | v4.2.0: wire the GUI to the core, transport and all four games (diff) | |
| download | zagan-bet-a5ea79739783682c46983d5b67b2b4b7b5338ccb.tar.gz zagan-bet-a5ea79739783682c46983d5b67b2b4b7b5338ccb.zip | |
v4.2.1: plain-language game copy and a balance fetch on login
The lobby and every game screen now speak to a player, not an operator: each game has one how-to sentence, and the table headers, limits, RTP, paytable and server-timing notes are gone. The account and balance are fetched whenever a session signs in, including stored-credential auto-login, so the header is filled before the lobby appears.
Diffstat (limited to '')
| -rw-r--r-- | gui/src/net.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gui/src/net.rs b/gui/src/net.rs index d2bc7e4..7cba604 100644 --- a/gui/src/net.rs +++ b/gui/src/net.rs | |||
| @@ -46,7 +46,6 @@ pub struct Connected { | |||
| 46 | pub user: Option<String>, | 46 | pub user: Option<String>, |
| 47 | pub auth_error: Option<String>, | 47 | pub auth_error: Option<String>, |
| 48 | pub fingerprint: Option<String>, | 48 | pub fingerprint: Option<String>, |
| 49 | pub server_version: String, | ||
| 50 | pub latest: String, | 49 | pub latest: String, |
| 51 | pub url: String, | 50 | pub url: String, |
| 52 | pub elapsed_ms: f32, | 51 | pub elapsed_ms: f32, |
| @@ -162,7 +161,6 @@ fn worker( | |||
| 162 | user: connected.user, | 161 | user: connected.user, |
| 163 | auth_error: connected.auth_error, | 162 | auth_error: connected.auth_error, |
| 164 | fingerprint, | 163 | fingerprint, |
| 165 | server_version: connected.server_version, | ||
| 166 | latest: connected.latest, | 164 | latest: connected.latest, |
| 167 | url: connected.url, | 165 | url: connected.url, |
| 168 | elapsed_ms: connected.elapsed.as_secs_f64() as f32 * 1000.0, | 166 | elapsed_ms: connected.elapsed.as_secs_f64() as f32 * 1000.0, |
