rust/hedgewars-server/src/server/handlers/inroom.rs
changeset 14790 e94fbf6cad2b
parent 14789 18240b308505
child 15026 a479916799ea
--- a/rust/hedgewars-server/src/server/handlers/inroom.rs	Thu Apr 11 21:20:41 2019 +0300
+++ b/rust/hedgewars-server/src/server/handlers/inroom.rs	Thu Apr 11 21:25:31 2019 +0300
@@ -605,7 +605,7 @@
                     Some((_, id)) if id != Some(room_id) => response
                         .add(Warning("The player is not in your room.".to_string()).send_self()),
                     Some((id, _)) => {
-                        super::common::change_master(server, client_id, id, room_id, response);
+                        super::common::change_master(server, room_id, id, response);
                     }
                 }
             }