Remove unneeded mut
This commit is contained in:
parent
15d93ea74b
commit
8433d0259e
1 changed files with 3 additions and 3 deletions
|
@ -69,7 +69,7 @@ impl Map {
|
|||
engine: &Engine,
|
||||
scene: &mut Scene,
|
||||
maps: &mut HashMap<String, AssetPath>,
|
||||
tiles: &mut HashMap<String, AssetPath>,
|
||||
tiles: &HashMap<String, AssetPath>,
|
||||
entity_manager: &mut impl AssetLoader,
|
||||
build_path: impl Fn(&str) -> AssetPath,
|
||||
) -> Result<()> {
|
||||
|
@ -88,7 +88,7 @@ impl Map {
|
|||
engine: &Engine,
|
||||
scene: &mut Scene,
|
||||
path: AssetPath,
|
||||
tiles: &mut HashMap<String, AssetPath>,
|
||||
tiles: &HashMap<String, AssetPath>,
|
||||
entity_manager: &mut impl AssetLoader,
|
||||
) -> Result<()> {
|
||||
let sql_connection = MapDataBase::load(&path.full_path())?;
|
||||
|
@ -665,7 +665,7 @@ impl Map {
|
|||
engine: &Engine,
|
||||
scene: &mut Scene,
|
||||
data_base: MapDataBase,
|
||||
tiles: &mut HashMap<String, AssetPath>,
|
||||
tiles: &HashMap<String, AssetPath>,
|
||||
entity_manager: &mut impl AssetLoader,
|
||||
) -> Result<Map> {
|
||||
let map_tiles = data_base.read_tiles()?;
|
||||
|
|
Loading…
Reference in a new issue