foot_stats_simulator 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -178,7 +178,7 @@ class SimulatorMatch < ActiveRecord::Base
|
|
178
178
|
end
|
179
179
|
|
180
180
|
def update_by_timeline
|
181
|
-
return if !status.nil?
|
181
|
+
return if !status.nil? && SimulatorMatch::STATUS_SEQUENCE[status.to_sym] >= SimulatorMatch::STATUS_SEQUENCE[:finished]
|
182
182
|
timeline.update_match
|
183
183
|
end
|
184
184
|
|