|
|
|
@ -770,6 +770,7 @@ class GamesController < ApplicationController
|
|
|
|
|
#return if @game.status >= 2
|
|
|
|
|
cost_time = (Time.now.to_i - @game.play_time.to_i) + @game.cost_time.to_i
|
|
|
|
|
@game.update_attributes(cost_time: cost_time, play_sign: 0)
|
|
|
|
|
render_ok
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 同步challenge的更新时间
|
|
|
|
|