Remove unnecessary default.

This commit is contained in:
Nolan Darilek 2022-07-20 10:17:38 -05:00
parent bd899b9c8e
commit df3e72909c

View File

@ -78,19 +78,11 @@ impl ITileType for Tile {
} }
} }
#[derive(Clone, Debug)] #[derive(Clone, Debug, Default)]
pub struct MapConfig { pub struct MapConfig {
pub start_revealed: bool, pub start_revealed: bool,
} }
impl Default for MapConfig {
fn default() -> Self {
Self {
start_revealed: false,
}
}
}
#[derive(Bundle, Default)] #[derive(Bundle, Default)]
pub struct PortalBundle { pub struct PortalBundle {
pub portal: Portal, pub portal: Portal,