diff --git a/src/hud.rs b/src/hud.rs index 618c558..4a8cc35 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -260,7 +260,7 @@ impl Message { } } -#[derive(Component)] +#[derive(Component, Default)] pub struct IsClickable { pub name: Option, pub pronoun: Option, @@ -268,17 +268,6 @@ pub struct IsClickable { pub distance: Option, pub disable_in_map: bool, } -impl Default for IsClickable { - fn default() -> Self { - Self { - name: None, - pronoun: None, - displayed_mass: None, - distance: None, - disable_in_map: false, - } - } -} #[derive(Resource)] pub struct Log {