Skip to content

Commit 96230f5

Browse files
committed
feat: season 12
1 parent df35042 commit 96230f5

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

app/Livewire/CompetitivePage.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ public function render(): View
6767
// Hack Part 7 - 11-2 and 11-3 were pre-published, but not yet out.
6868
// As of now they have the same CSR Key as 11-1, so we'll just use that.
6969
$seasonKey = ($seasonKey === '11-2' || $seasonKey === '11-3') ? '11-1' : $seasonKey;
70+
71+
// Hack Part 8 - 12-2 and 12-3 were pre-published, but not yet out.
72+
// As of now they have the same CSR Key as 12-1, so we'll just use that.
73+
$seasonKey = ($seasonKey === '12-2' || $seasonKey === '12-3') ? '12-1' : $seasonKey;
7074
}
7175

7276
return view('livewire.competitive-page', [

config/services.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
'version' => env('DOTAPI_VERSION', '2023-06-24'),
3939
'cooldown' => (int) env('DOTAPI_COOLDOWN', 120),
4040
'competitive' => [
41-
'key' => env('DOTAPI_CURRENT_SEASON_KEY', '11-1'),
42-
'season' => (int) env('DOTAPI_CURRENT_SEASON', 11),
41+
'key' => env('DOTAPI_CURRENT_SEASON_KEY', '12-1'),
42+
'season' => (int) env('DOTAPI_CURRENT_SEASON', 12),
4343
],
4444
'warning_message' => env('DOTAPI_WARNING_MESSAGE'),
4545
],

resources/lang/en/seasons.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
9 => 'Great Journey',
1313
10 => 'Frontlines',
1414
11 => 'Last Stand',
15+
12 => 'Shadows',
1516
];

0 commit comments

Comments
 (0)