Fixed first enemies type

This commit is contained in:
2021-03-27 14:05:09 +03:00
parent f861763c27
commit 0a39f6be22
+1 -1
View File
@@ -73,7 +73,7 @@ class Player(pygame.sprite.Sprite):
class Enemy(pygame.sprite.Sprite):
def setNextEnemyType(self, score):
if score < 10:
self.type = 2
self.type = 1
elif score < 25:
if random.randint(1, 100) < 95: self.type = 1