From 2ce64cf1b7b8d9742b5098b2e2cc425528bbdf55 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Thu, 9 Dec 2010 21:51:55 +0100 Subject: Set RoundEnd::game_end. --- server/client.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'server') 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 callback) { - connection->send(make_shared()); + Message::RoundEnd::p msg = make_shared(); + + msg->game_end = false; + + connection->send(msg); // Check if we're waiting for ready. if(callback) { -- cgit v1.2.3