fix client ingame flag
authoralfadur
Sat, 13 Apr 2019 00:16:23 +0300
changeset 14821 2107fd023733
parent 14820 e41131607167
child 14822 da0cfeee9d96
fix client ingame flag
rust/hedgewars-server/src/server/handlers/common.rs
--- a/rust/hedgewars-server/src/server/handlers/common.rs	Sat Apr 13 00:08:04 2019 +0300
+++ b/rust/hedgewars-server/src/server/handlers/common.rs	Sat Apr 13 00:16:23 2019 +0300
@@ -536,7 +536,7 @@
         room.start_round();
         for id in room_clients {
             let c = &mut server.clients[id];
-            c.set_is_in_game(false);
+            c.set_is_in_game(true);
             c.team_indices = room.client_team_indices(c.id);
         }
         response.add(RunGame.send_all().in_room(room.id));