mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-04-26 10:15:28 -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')
|
->join('games', 'game_user.game_id', '=', 'games.id')
|
||||||
->whereIn('games.status', [
|
->whereIn('games.status', [
|
||||||
MatchStatus::Closed,
|
MatchStatus::Closed,
|
||||||
|
MatchStatus::Opened,
|
||||||
MatchStatus::Created,
|
MatchStatus::Created,
|
||||||
])->count();
|
])->count();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user