diff --git a/my_game.py b/my_game.py index 691d4a1..c9f0890 100644 --- a/my_game.py +++ b/my_game.py @@ -92,7 +92,8 @@ while True: for prop in block_list: prop.rect.x -=8 screen.blit(prop.image,(prop.rest.x, prop.rect.y)) - if prop.rest.x <=0-prop.rect.width + if prop.rest.x <=0-prop.rect.width: + prop.skill