File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ impl MatchDO {
247247 let should_start_alarm = {
248248 let mut gs = self . game_state . borrow_mut ( ) ;
249249 match msg {
250- C2S :: Join { code : _ , .. } if gs. match_state == MatchState :: Paused => {
250+ C2S :: Join { .. } if gs. match_state == MatchState :: Paused => {
251251 // A player is returning to a slot held open during the grace period.
252252 if let Some ( player_id) = gs. reconnect_player ( Box :: new ( ws. clone ( ) ) ) {
253253 if let Err ( e) = ws. serialize_attachment ( player_id) {
@@ -268,7 +268,7 @@ impl MatchDO {
268268 // The alarm loop is already running while paused.
269269 None
270270 }
271- C2S :: Join { code : _ , .. } => {
271+ C2S :: Join { .. } => {
272272 // We need to clone WS here because add_player takes ownership
273273 if let Some ( ( player_id, was_empty) ) = gs. add_player ( Box :: new ( ws. clone ( ) ) ) {
274274 // Tag this socket with its player id so we can identify it on
You can’t perform that action at this time.
0 commit comments