diff --git a/app/services/games_service.rb b/app/services/games_service.rb index b40edbf4..1d69906a 100644 --- a/app/services/games_service.rb +++ b/app/services/games_service.rb @@ -846,7 +846,7 @@ class GamesService experience = 0 game_status = game.status had_done = game.had_done - game_challenge = Challenge.select([:id, :score, :position, :shixun_id, :web_route, :picture_path]).find(game.challenge_id) + game_challenge = Challenge.select([:id, :score, :position, :shixun_id, :web_route, :show_type]).find(game.challenge_id) shixun = Shixun.select([:id, :status, :user_id, :test_set_permission]).find(game_challenge.shixun_id) if params[:resubmit].blank? # 非重新评测