From 7f3e444667040ae8e04e335a09779462ab79fac6 Mon Sep 17 00:00:00 2001 From: YK Date: Sun, 14 Jul 2024 20:29:05 +0300 Subject: [PATCH] chore: cleanup --- src/game.rs | 6 ++---- src/main.rs | 2 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/game.rs b/src/game.rs index 8d8e3cf..bc5e26d 100644 --- a/src/game.rs +++ b/src/game.rs @@ -1,13 +1,11 @@ use itertools::Itertools; -use rand::{distributions::{Distribution, WeightedIndex}, seq::IteratorRandom}; +use rand::{ distributions::{ Distribution, WeightedIndex }, seq::IteratorRandom }; -use crate::{common::despawn_screen, prelude::*}; +use crate::{ common::despawn_screen, prelude::* }; #[derive(Component)] pub struct FieldView; - - pub fn enter ( mut commands: Commands, asset_server: Res, diff --git a/src/main.rs b/src/main.rs index decb62d..dbb6ff5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,8 +9,6 @@ use prelude::*; impl Plugin for SqPlugin { fn build (&self, app: &mut App) { - - // add things to your app here app .insert_resource(ClearColor(BG_COLOR))