summaryrefslogtreecommitdiff
path: root/server/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/game.cpp')
-rw-r--r--server/game.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/game.cpp b/server/game.cpp
index 66a791c..c8950ce 100644
--- a/server/game.cpp
+++ b/server/game.cpp
@@ -195,7 +195,11 @@ void Game::handle_action_draw(Action action) {
round_end();
} break;
- case Action::Riichi:
+ case Action::Riichi: {
+ players[current_player].declare_riichi();
+ round_update_draw();
+ } break;
+
case Action::Kan:
case Action::Draw:
// Not implemented yet.