summaryrefslogtreecommitdiff
path: root/server/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/client.cpp')
-rw-r--r--server/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/client.cpp b/server/client.cpp
index 465da3b..3977b53 100644
--- a/server/client.cpp
+++ b/server/client.cpp
@@ -84,8 +84,8 @@ void Client::round_start() {
connection->send(make_shared<Message::RoundStart>());
}
-void Client::round_state(State state) {
- connection->send(make_shared<Message::RoundState>(state));
+void Client::round_state(const PlayerState& pl_d, const PlayerState& pl_r, const PlayerState& pl_u, const PlayerState& pl_l, const Tiles& d, const Actions& a) {
+ connection->send(make_shared<Message::RoundState>(pl_d, pl_r, pl_u, pl_l, d, a));
}
void Client::round_end() {