summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/player.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/player.cpp b/server/player.cpp
index 59b128e..7c48a80 100644
--- a/server/player.cpp
+++ b/server/player.cpp
@@ -249,7 +249,11 @@ bool Player::can_tsumo() {
}
bool Player::can_ron(Tile tile) {
- // TODO: Check furiten.
+ // Check furiten.
+ if(pond.contains(tile)) {
+ return false;
+ }
+ // TODO: Furiten due to unclaimed discard in last go-around.
Tiles tiles = hand;
tiles.push_back(tile);