diff --git a/game/src/scenes/ingame_scene/level/loader.rs b/game/src/scenes/ingame_scene/level/loader.rs index 33bbc2a..08a9e48 100644 --- a/game/src/scenes/ingame_scene/level/loader.rs +++ b/game/src/scenes/ingame_scene/level/loader.rs @@ -72,7 +72,9 @@ pub fn load_all_levels( )?, zones, }; - l.colliders.append(&mut l.zones.appear); + for a in &l.zones.appear { + l.colliders.push(a.clone()); + } l }); }