This commit is contained in:
parent
3bee690554
commit
e90a5d0a1a
|
@ -37,7 +37,7 @@ class GamesController < ApplicationController
|
|||
end
|
||||
@latest_output = @game.latest_output.try(:out_put)
|
||||
outputs = @game.outputs
|
||||
@had_done = 1 if (@mysh ixun.games.count == @game.stage && @game.status ==2)
|
||||
@had_done = 1 if (@myshixun.games.count == @game.stage && @game.status ==2)
|
||||
if outputs.count == 0
|
||||
@results = []
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue