Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mainGame.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
player.is_hit = True
game_over_sound.play()
break
if enemy.rect.top > SCREEN_HEIGHT:
if enemy.rect.top >= SCREEN_HEIGHT:
enemies1.remove(enemy)

# 将被击中的敌机对象添加到击毁敌机Group中,用来渲染击毁动画
Expand Down