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