diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-12-09 21:51:55 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-12-09 21:51:55 +0100 |
commit | 2ce64cf1b7b8d9742b5098b2e2cc425528bbdf55 (patch) | |
tree | 3e5b82a8d10dcc84aac8391200b9ff906db56350 /server | |
parent | f0696f9538e6a580501fb494a82bda89ca781eb2 (diff) |
Set RoundEnd::game_end.
Diffstat (limited to 'server')
-rw-r--r-- | server/client.cpp | 6 |
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) { |