summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-12-09 21:51:55 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-12-09 21:51:55 +0100
commit2ce64cf1b7b8d9742b5098b2e2cc425528bbdf55 (patch)
tree3e5b82a8d10dcc84aac8391200b9ff906db56350
parentf0696f9538e6a580501fb494a82bda89ca781eb2 (diff)
Set RoundEnd::game_end.
-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) {