更新 'game_functions.py'

This commit is contained in:
206530211 2021-06-22 20:22:23 +08:00
parent 1c578b2230
commit 78b3bcb609
1 changed files with 7 additions and 1 deletions

View File

@ -72,4 +72,10 @@ def check_play_button(ai_settings, screen, stats, sb, play_button, ship, aliens,
# 重置游戏统计信息
stats.reset_stats()
stats.game_active = True
stats.game_active = True
# 重置记分牌图像
sb.prep_score()
sb.prep_high_score()
sb.prep_level()
sb.prep_ships()