From 7f02d09e13404115f93e4e9fe7d717a88354988b Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Sun, 3 Oct 2021 10:37:16 -0400 Subject: [PATCH] Add a test level and fix a ton of bugs --- game/src/scenes/ingame_scene/level/loader.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }); }