daiao 5 years ago
parent e9a27be9df
commit f8253373e4

@ -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的更新时间

Loading…
Cancel
Save