diff options
Diffstat (limited to 'bubbob/monsters.py')
-rw-r--r-- | bubbob/monsters.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bubbob/monsters.py b/bubbob/monsters.py index 88983d0..f38823b 100644 --- a/bubbob/monsters.py +++ b/bubbob/monsters.py @@ -1,4 +1,4 @@ -from __future__ import generators + import random import gamesrv import images @@ -780,7 +780,7 @@ class Blitzy(Monster): self.no_shoot_before = BubPlayer.FrameCounter + 29 return 0 -MonsterClasses = [c for c in globals().values() +MonsterClasses = [c for c in list(globals().values()) if type(c)==type(Monster) and issubclass(c, Monster)] MonsterClasses.remove(Monster) |