Online players api endpoint now shows players in an open lobby as in game.

This commit is contained in:
Vari 2024-09-19 18:53:53 +02:00
parent 7b0ca841dd
commit 55cdce4e65

View File

@ -26,6 +26,7 @@ public function getOnlinePlayers() {
->join('games', 'game_user.game_id', '=', 'games.id')
->whereIn('games.status', [
MatchStatus::Closed,
MatchStatus::Opened,
MatchStatus::Created,
])->count();