Cleanup
This commit is contained in:
@@ -12,7 +12,7 @@ impl Game<'_> {
|
||||
pub fn new(p: &mut Player) -> Game {
|
||||
let mut v: Vec<Level> = Vec::with_capacity(LEVELS);
|
||||
for _ in 0..LEVELS {
|
||||
let mut l = Level::new();
|
||||
let l = Level::new();
|
||||
v.push(l);
|
||||
}
|
||||
Game {
|
||||
|
||||
Reference in New Issue
Block a user