From e6a958b6c9d5f6c77918e11f3f862156d563ba14 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Fri, 26 Apr 2024 22:49:31 +0300 Subject: levels with different colors --- src/sliceitoff/game/level.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sliceitoff/game/level.py') 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() -- cgit v1.2.3