From c23b138ed72d794521b19ff7d8076b32b0b7bf46 Mon Sep 17 00:00:00 2001 From: Diego Roversi Date: Sun, 8 Sep 2019 22:05:57 +0200 Subject: 2to3 --- bubbob/monsters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bubbob/monsters.py') 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) -- cgit v1.2.3