mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix redundant pattern matching
This commit is contained in:
parent
e2f4499d45
commit
62f9bc5059
@ -844,7 +844,7 @@ impl Controls {
|
||||
};
|
||||
|
||||
// TODO: tooltips
|
||||
let (tool, species, body_type) = if let Some(_) = character_id {
|
||||
let (tool, species, body_type) = if character_id.is_some() {
|
||||
(Column::new(), Column::new(), Row::new())
|
||||
} else {
|
||||
let (body_m_ico, body_f_ico) = match body.species {
|
||||
|
Loading…
Reference in New Issue
Block a user