diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/player.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/player.cpp b/server/player.cpp index 9707f34..3935710 100644 --- a/server/player.cpp +++ b/server/player.cpp @@ -541,11 +541,13 @@ Score Player::calculate_score(const Sets& hand, List<std::pair<std::string, int> // Check tanyao. if(possible_tanyao) { score.yaku += 1; + han.push_back(std::make_pair("Tanyao", 1)); } // Check toitoi. if(possible_toitoi) { score.yaku += 2; + han.push_back(std::make_pair("Toitoi", 2)); } // Check pinfu. |