This commit is contained in:
2023-11-27 21:24:43 +01:00
parent 677acf771a
commit ee1f11cd1f
4 changed files with 4 additions and 5 deletions

View File

@@ -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 {