diff options
| author | salmonik <salmonik@tuta.io> | 2026-08-24 18:11:08 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-08-24 18:11:08 +0200 |
| commit | fd8ba0d9c7317f24e0b655c6b15ca197d5a23daa (patch) | |
| tree | d9090d75d559c7f69a62958184db0692e50e9376 /src/bin/client/games/traits.rs | |
| parent | Fix critical game bugs: payout, sessions, balance type, render_lines; add AGE... (diff) | |
| download | zagan-bet-fd8ba0d9c7317f24e0b655c6b15ca197d5a23daa.tar.gz zagan-bet-fd8ba0d9c7317f24e0b655c6b15ca197d5a23daa.zip | |
Fix second-game InvalidAction: reset phase after spin, allow re-spin in Finished state
Diffstat (limited to 'src/bin/client/games/traits.rs')
| -rw-r--r-- | src/bin/client/games/traits.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/client/games/traits.rs b/src/bin/client/games/traits.rs index 19f2638..aed0c24 100644 --- a/src/bin/client/games/traits.rs +++ b/src/bin/client/games/traits.rs | |||
| @@ -9,6 +9,8 @@ pub enum GameError { | |||
| 9 | #[derive(Debug, Clone, PartialEq)] | 9 | #[derive(Debug, Clone, PartialEq)] |
| 10 | pub enum GamePhase { | 10 | pub enum GamePhase { |
| 11 | WaitingToStart, | 11 | WaitingToStart, |
| 12 | Playing, | ||
| 13 | Finished, | ||
| 12 | } | 14 | } |
| 13 | 15 | ||
| 14 | #[derive(Debug, Clone)] | 16 | #[derive(Debug, Clone)] |
