Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasEi committed Nov 1, 2023
1 parent a69394d commit ab26599
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions bevy_asset_loader_derive/src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -539,13 +539,13 @@ impl AssetBuilder {
}
if self.key.is_some()
&& (self.asset_path.is_some()
|| self.asset_paths.is_some()
|| missing_fields.len() < 4
|| self.padding_x.is_some()
|| self.padding_y.is_some()
|| self.offset_x.is_some()
|| self.offset_y.is_some()
|| self.is_standard_material)
|| self.asset_paths.is_some()
|| missing_fields.len() < 4
|| self.padding_x.is_some()
|| self.padding_y.is_some()
|| self.offset_x.is_some()
|| self.offset_y.is_some()
|| self.is_standard_material)
{
return Err(vec![ParseFieldError::KeyAttributeStandsAlone]);
}
Expand Down

0 comments on commit ab26599

Please sign in to comment.