summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/client.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/client.cpp b/server/client.cpp
index 8929446..aa0cdb7 100644
--- a/server/client.cpp
+++ b/server/client.cpp
@@ -138,7 +138,11 @@ void Client::round_state(const PlayerState& pl_d, const PlayerState& pl_r, const
}
void Client::round_end(boost::function<void ()> callback) {
- connection->send(make_shared<Message::RoundEnd>());
+ Message::RoundEnd::p msg = make_shared<Message::RoundEnd>();
+
+ msg->game_end = false;
+
+ connection->send(msg);
// Check if we're waiting for ready.
if(callback) {