diff --git a/src/scenes/story/boss_fight.py b/src/scenes/story/boss_fight.py index 6831201..d4c78fb 100644 --- a/src/scenes/story/boss_fight.py +++ b/src/scenes/story/boss_fight.py @@ -150,8 +150,8 @@ def __check_hurt(world: World): """ TODO """ - if world[Hurtable] == Hurtable.TRUE: - for entity in world.query(Hurt, Sprite): + for entity in world.query(Hurt, Sprite): + if world[Hurtable] == Hurtable.TRUE: position = entity.get(Sprite).position width, height = entity.get(Sprite).texture.get_size()