fix validations & client_cli

This commit is contained in:
Henri Bourcereau 2025-08-16 17:25:29 +02:00
parent c1e99a5f35
commit 47a8502b63
4 changed files with 18 additions and 15 deletions

View file

@ -348,7 +348,7 @@ impl GameState {
return false;
}
// Check the turn stage
if self.turn_stage != TurnStage::RollWaiting {
if self.turn_stage != TurnStage::RollDice {
error!("bad stage {:?}", self.turn_stage);
return false;
}
@ -363,7 +363,7 @@ impl GameState {
return false;
}
// Check the turn stage
if self.turn_stage != TurnStage::RollDice {
if self.turn_stage != TurnStage::RollWaiting {
error!("bad stage {:?}", self.turn_stage);
return false;
}