summaryrefslogtreecommitdiff
path: root/src/sliceitoff/game/level.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-26 22:49:31 +0300
committerViljami Ilola <+@hix.fi>2024-04-26 22:49:31 +0300
commite6a958b6c9d5f6c77918e11f3f862156d563ba14 (patch)
tree3981a140d5808d6aa0f62806a11bd37c2619b080 /src/sliceitoff/game/level.py
parentfde888991eb8f8be560da6e606abe58d95f9cf64 (diff)
levels with different colors
Diffstat (limited to 'src/sliceitoff/game/level.py')
-rw-r--r--src/sliceitoff/game/level.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sliceitoff/game/level.py b/src/sliceitoff/game/level.py
index 9f3121f..08e4495 100644
--- a/src/sliceitoff/game/level.py
+++ b/src/sliceitoff/game/level.py
@@ -17,7 +17,7 @@ class Level(pygame.sprite.Group):
super().__init__()
self.stats = stats
self.status = Status(stats = self.stats)
- self.field = Field(stats = self.stats)
+ self.field = Field(stats = self.stats, level = stats.level)
self.enemies = Enemies(count = self.stats.enemies)
self.player = Player()
self.life = Life()