wip
This commit is contained in:
@@ -93,7 +93,7 @@ export class EventScoringService {
|
||||
sessionType: SessionType,
|
||||
): BonusRule[] {
|
||||
const all = championship.bonusRulesBySessionType ?? {};
|
||||
return all[sessionType] ?? [];
|
||||
return (all as Record<SessionType, BonusRule[]>)[sessionType] ?? [];
|
||||
}
|
||||
|
||||
private applyFastestLapBonus(
|
||||
|
||||
Reference in New Issue
Block a user