Browse Source

fix object name

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

2
src/Controller/ServerController.php

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

Loading…
Cancel
Save