mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-03-21 18:04:46 -05:00
Online players api endpoint now shows players in an open lobby as in game.
This commit is contained in:
parent
7b0ca841dd
commit
55cdce4e65
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user