add configurable max player count

This commit is contained in:
Songtronix
2019-07-01 13:19:26 +02:00
parent bbb024224d
commit b6c8bdc223
8 changed files with 29 additions and 10 deletions

View File

@ -64,6 +64,7 @@ impl PlayState for MainMenuState {
self.main_menu_ui.login_error(
match err {
InitError::BadAddress(_) | InitError::NoAddress => "Server not found",
InitError::ServerIsFull => "Server is Full!",
InitError::ConnectionFailed(_) => "Connection failed",
InitError::ClientCrashed => "Client crashed",
}