Fix regia basket e stabilità diretta iOS.
La regia remota non va più in 500 su basket/timed; iOS gestisce chiusura set, riconnessione RTMP e avanzamento quarti in modo affidabile. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -45,6 +45,11 @@ module Scoring
|
||||
current_set >= max_sets ? @points_deciding_set : @points_per_set
|
||||
end
|
||||
|
||||
def self.points_target_for_match(match, current_set: 1)
|
||||
rules = from_match(match)
|
||||
rules.is_a?(Rules) ? rules.points_target(current_set) : 0
|
||||
end
|
||||
|
||||
def set_winner_from_points(home_points:, away_points:, current_set:)
|
||||
target = points_target(current_set)
|
||||
if home_points >= target && (home_points - away_points) >= @min_point_lead
|
||||
|
||||
Reference in New Issue
Block a user