clippy
This commit is contained in:
+2
-3
@@ -1,8 +1,7 @@
|
||||
use std::process::exit;
|
||||
|
||||
use crate::tile::{FixtureTile, FloorTile, NeedsOccluded, TileState};
|
||||
use crate::{constants::*, game};
|
||||
use bevy::{prelude::*, transform};
|
||||
use bevy::prelude::*;
|
||||
use bevy_platform::collections::hash_map::HashMap;
|
||||
|
||||
#[derive(Resource)]
|
||||
@@ -34,7 +33,7 @@ pub fn initialize_textures(mut commands: Commands, asset_server: Res<AssetServer
|
||||
let mut texture_ids: HashMap<u32, String> = HashMap::new();
|
||||
texture_ids.insert(u32::MAX, DEFAULT_TEXTURE.to_string());
|
||||
|
||||
texture_ids.insert(FLOOR_ID_OFFSET + 0, SKY_PATH.to_string());
|
||||
texture_ids.insert(FLOOR_ID_OFFSET, SKY_PATH.to_string());
|
||||
textures.insert(SKY_PATH.to_string(), asset_server.load(SKY_PATH));
|
||||
texture_ids.insert(FLOOR_ID_OFFSET + 1, GRASS_FLOOR_PATH.to_string());
|
||||
textures.insert(
|
||||
|
||||
Reference in New Issue
Block a user