diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/player.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/player.cpp b/server/player.cpp index 3935710..a267b1d 100644 --- a/server/player.cpp +++ b/server/player.cpp @@ -33,8 +33,13 @@ PlayerState Player::get_state() { } PlayerState Player::get_state_filtered() { + Tiles hand_filtered; + for(int i = 0; i < hand.size(); i++) { + hand_filtered.push_back(Tile::Back); + } + Tilegroups h; - h.push_back(hand); + h.push_back(hand_filtered); for(Sets::iterator it = open.begin(); it != open.end(); it++) { h.push_back(it->tiles); |