mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix issue with chat after char selection
This commit is contained in:
parent
dd612a9473
commit
3f5c9dcd13
@ -865,7 +865,10 @@ impl Client {
|
||||
|
||||
/// Request a state transition to `ClientState::Registered` from an ingame
|
||||
/// state.
|
||||
pub fn request_remove_character(&mut self) { self.send_msg(ClientGeneral::ExitInGame); }
|
||||
pub fn request_remove_character(&mut self) {
|
||||
self.chat_mode = ChatMode::World;
|
||||
self.send_msg(ClientGeneral::ExitInGame);
|
||||
}
|
||||
|
||||
pub fn set_view_distance(&mut self, view_distance: u32) {
|
||||
let view_distance = view_distance.max(1).min(65);
|
||||
|
Loading…
Reference in New Issue
Block a user