diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-29 22:16:15 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-29 22:16:15 +0100 |
| commit | bc0de9955c375cf27d52c9934403964205afc182 (patch) | |
| tree | 42799fb426fb0ec164f44c92a63525003c582f35 /src/client/games/manager.rs | |
| parent | initial connection timeout set to 10s (diff) | |
| download | zagan-bet-bc0de9955c375cf27d52c9934403964205afc182.tar.gz zagan-bet-bc0de9955c375cf27d52c9934403964205afc182.zip | |
formatting
Diffstat (limited to 'src/client/games/manager.rs')
| -rw-r--r-- | src/client/games/manager.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/games/manager.rs b/src/client/games/manager.rs index 4d9e6a8..b20ff44 100644 --- a/src/client/games/manager.rs +++ b/src/client/games/manager.rs | |||
| @@ -138,9 +138,7 @@ impl GameManager { | |||
| 138 | session.bet_amount = result.bet_amount; | 138 | session.bet_amount = result.bet_amount; |
| 139 | session.data.remove("error"); | 139 | session.data.remove("error"); |
| 140 | session.data.insert("reels".to_string(), result.reels); | 140 | session.data.insert("reels".to_string(), result.reels); |
| 141 | session | 141 | session.data.insert("win_type".to_string(), result.win_type); |
| 142 | .data | ||
| 143 | .insert("win_type".to_string(), result.win_type); | ||
| 144 | session.data.insert( | 142 | session.data.insert( |
| 145 | "win_lines".to_string(), | 143 | "win_lines".to_string(), |
| 146 | result | 144 | result |
| @@ -339,7 +337,9 @@ impl GameManager { | |||
| 339 | for key in ["crash_point", "payout"] { | 337 | for key in ["crash_point", "payout"] { |
| 340 | session.data.remove(key); | 338 | session.data.remove(key); |
| 341 | } | 339 | } |
| 342 | session.data.insert("status".to_string(), state.phase.clone()); | 340 | session |
| 341 | .data | ||
| 342 | .insert("status".to_string(), state.phase.clone()); | ||
| 343 | session | 343 | session |
| 344 | .data | 344 | .data |
| 345 | .insert("session_id".to_string(), state.session_id); | 345 | .insert("session_id".to_string(), state.session_id); |
