Worlds: improve messages, and x4->x3 to finals
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2026-09-11 18:03:03 +02:00
parent dafd4cf4ce
commit 0b025c828b
6 changed files with 30 additions and 22 deletions

View File

@@ -35,7 +35,7 @@ class WorldParticipant < ApplicationRecord
before_save :compute_score
def compute_score
self.score = WorldBet.points(qualifier_result) + WorldBet.points(semifinal_result) * 2 + WorldBet.points(final_result) * 4
self.score = WorldBet.points(qualifier_result) + WorldBet.points(semifinal_result) * 2 + WorldBet.points(final_result) * 3
end
def self.add_participants(str)