diff options
Diffstat (limited to 'src/sliceitoff/game/level.py')
-rw-r--r-- | src/sliceitoff/game/level.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sliceitoff/game/level.py b/src/sliceitoff/game/level.py index a711b0d..26df345 100644 --- a/src/sliceitoff/game/level.py +++ b/src/sliceitoff/game/level.py @@ -41,8 +41,7 @@ class Level: def step(self, dt): self.status.update(dt = dt) self.field.update(dt = dt) - self.enemies.update(dt = dt) - self.enemies.hit_walls(self.field.active_sprites()) + self.enemies.update(dt = dt, field_rects = self.field.active_rects() ) if self.level_info.active: self.level_info.update(dt = dt) |