|
|
|
@ -658,6 +658,7 @@ class GamesController < ApplicationController
|
|
|
|
|
# 高性能取上一关、下一关
|
|
|
|
|
prev_game = @game.prev_of_current_game(@shixun.id, @game.myshixun_id, game_challenge.position)
|
|
|
|
|
next_game = @game.next_of_current_game(@shixun.id, @game.myshixun_id, game_challenge.position) if had_passed
|
|
|
|
|
next_game.update_column(:status, 0) if next_game.present? && next_game.status == 3
|
|
|
|
|
|
|
|
|
|
# 高性能取上一关、下一关
|
|
|
|
|
#prev_game = Game.prev_identifier(@shixun.id, @game.myshixun_id, game_challenge.position)
|
|
|
|
|