Browse Source

fix object name

main
ghost 11 months ago
parent
commit
05f97d5ea4
  1. 2
      src/Controller/ServerController.php

2
src/Controller/ServerController.php

@ -103,7 +103,7 @@ class ServerController extends AbstractController
if ($info = (array) $node->GetInfo()) if ($info = (array) $node->GetInfo())
{ {
// Get session // Get session
$session = empty($info['Players']) ? [] : (array) $server->GetPlayers(); $session = empty($info['Players']) ? [] : (array) $node->GetPlayers();
// Sort by players by frags // Sort by players by frags
if ($session) if ($session)

Loading…
Cancel
Save