changeset 13450 | d3c86ade3d4d |
parent 13447 | c6a3784ff2c1 |
child 13483 | d79795acaa73 |
13449:914f9b970f4d | 13450:d3c86ade3d4d |
---|---|
130 (c, Some(&mut self.rooms[room_id])) |
130 (c, Some(&mut self.rooms[room_id])) |
131 } else { |
131 } else { |
132 (c, None) |
132 (c, None) |
133 } |
133 } |
134 } |
134 } |
135 |
|
136 pub fn room(&mut self, client_id: ClientId) -> Option<&mut HWRoom> { |
|
137 self.client_and_room(client_id).1 |
|
138 } |
|
135 } |
139 } |