rust/hedgewars-server/src/handlers/common.rs
changeset 15531 ede5f4ec48f3
parent 15526 24f692e791d3
child 15533 0606f89698e7
equal deleted inserted replaced
15530:a859f08ebb4f 15531:ede5f4ec48f3
   517             get_room_update(None, room, room_master, response);
   517             get_room_update(None, room, room_master, response);
   518         }
   518         }
   519         Err(StartGameError::NotEnoughClans) => {
   519         Err(StartGameError::NotEnoughClans) => {
   520             response.warn("The game can't be started with less than two clans!")
   520             response.warn("The game can't be started with less than two clans!")
   521         }
   521         }
   522         Err(StartGameError::NotEnoughTeams) => (),
       
   523         Err(StartGameError::NotReady) => response.warn("Not all players are ready"),
   522         Err(StartGameError::NotReady) => response.warn("Not all players are ready"),
   524         Err(StartGameError::AlreadyInGame) => response.warn("The game is already in progress"),
   523         Err(StartGameError::AlreadyInGame) => response.warn("The game is already in progress"),
   525     }
   524     }
   526 }
   525 }
   527 
   526