mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix clippy::nonminimal-bool
This commit is contained in:
parent
0b4446ad81
commit
41e7e25f16
@ -458,8 +458,8 @@ impl<'a> Widget for Overhead<'a> {
|
||||
}
|
||||
}
|
||||
// Speech bubble
|
||||
// Only render if setting
|
||||
if !self.is_me || (self.is_me && self.settings.speech_bubble_self) {
|
||||
// Only render if setting or other players
|
||||
if !self.is_me || self.settings.speech_bubble_self {
|
||||
if let Some(bubble) = self.bubble {
|
||||
let dark_mode = self.settings.speech_bubble_dark_mode;
|
||||
let localizer = |s: &str, i| -> String { self.i18n.get_variation(s, i).to_string() };
|
||||
|
Loading…
Reference in New Issue
Block a user