diff options
author | Diego Roversi <diegor@tiscali.it> | 2019-09-08 22:05:57 +0200 |
---|---|---|
committer | Diego Roversi <diegor@tiscali.it> | 2019-09-08 22:05:57 +0200 |
commit | c23b138ed72d794521b19ff7d8076b32b0b7bf46 (patch) | |
tree | c8e82a4ca4da05ba1ad28d4ff64a157bc1eb7952 /bubbob/monsters.py | |
parent | 1d9925c287b318ec21343e2682b51ab6a36ae8db (diff) |
2to3
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) |