WIP: removing User::class public array $items for Stat()::class.

This commit is contained in:
2024-01-08 03:33:20 +02:00
parent 4a7535d67d
commit bd8761f240
22 changed files with 812 additions and 971 deletions
+2 -1
View File
@@ -15,10 +15,11 @@ if ($u->info['inTurnir'] > 0 && $u->info['inUser'] == 0 && $u->info['room'] == 3
}
$zv = new FightRequest();
$r = $_GET['r'] ?? '';
// Турниры по умолчанию.
// 4-group,5-chaos,6-current,7-ended,10-tournament
$r = match ($_GET['r']) {
$r = match ($r) {
'4' => FightRequest::BATTLE_RAZDEL_GROUP,
'5' => FightRequest::BATTLE_RAZDEL_CHAOTIC,
'6' => FightRequest::BATTLE_RAZDEL_CURRENT,